java web在spring mvc 适合你导包常见的异常

 

1 - java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
   添加包common-logging.jar

2 - java.lang.ClassNotFoundException: org.springframework.web.context.request.RequestAttributes

   添加包org.springframework.web.jar

3 -java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet

   添加包org.springframework.web.servlet.jar

4 - java.lang.ClassNotFoundException: org.springframework.core.NestedRuntimeException

   添加包org.springframework.core.jar

5 -java.lang.ClassNotFoundException: javax.transaction.Synchronization

     添加包jta.jar(hiberante)
6 - java.lang.ClassNotFoundException: org.dom4j.DocumentException
     添加包dom4j-1.6.1.jar
7 - java.lang.ClassNotFoundException: org.apache.commons.collections.SequencedHashMap
     添加包commons-collections.jar
8 - java.lang.ClassNotFoundException: net.sf.cglib.proxy.CallbackFilter
     java.lang.NoClassDefFoundError: net/sf/cglib/proxy/CallbackFilter
     添加包cglib-2.1.3.jar
9 - java.lang.ClassNotFoundException: org.objectweb.asm.Type
     添加包asm.jar
10 - java.lang.ClassNotFoundException: antlr.ANTLRException
     添加包antlr.jar
11 - java.lang.ClassNotFoundException: net.sf.ehcache.CacheException
     添加包ehcache-1.2.3.jar

猜你喜欢

转载自201205052245.iteye.com/blog/1671730