当前位置: 代码迷 >> Web前端 >> java web在spring mvc 适合你导包常见的错误
  详细解决方案

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

热度:374   发布时间:2012-10-27 10:42:26.0
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

?

  相关解决方案