Caused by: java.lang.ClassNotFoundException: org.aopalliance.intercept.MethodInterceptor

因缺少加入aopalliance.jar。

  1. //如果不用,启动时不会出错,但使用Dwr时,会抛出异常:java.lang.NoClassDefFoundError:antlr/ANTLRException
  2. antlr-2.7.2.jar 
  3. //如果不用此包,在启动时会抛出:nestedexceptionisjava.lang.NoClassDefFoundError:org/objectweb/asm/Type
  4. asm.jar
  5. //如果不用此包,在启动时抛出:nestedexceptionisjava.lang.NoClassDefFoundError:org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException
  6. aspectjweaver.jar
  7. //如果不用此包,在启动时抛出:nestedexceptionisjava.lang.NoClassDefFoundError:net/sf/cglib/proxy/CallbackFilter
  8. cglib-2.1.3.jar
  9. //如果不用此包,在启动时抛出:nestedexceptionisjava.lang.NoClassDefFoundError:org/apache/commons/collections/SequencedHashMap
  10. commons-collections-3.1.jar
  11. //这个似乎可以不用的
  12. commons-fileupload-1.2.1.jar
  13. //这个就不用说啦,几乎所有框架都要使用的
  14. commons-logging-1.0.4.jar
  15. //如果不用此包会抛出:java.lang.NoClassDefFoundError:org/dom4j/DocumentException
  16. dom4j-1.6.1.jar
  17. //dwr必须
  18. dwr.jar
  19. //不用此包,在启动时招聘:java.lang.NoClassDefFoundError:javax/transaction/TransactionManager
  20. jta.jar
  21. //Mysql JDBC驱动
  22. mysql-connector.jar
  23. //Hibernate必须使用,注意此包是包含全部的。
  24. hibernate3.jar
  25. //Spring整体包
  26. spring.jar
  27. //struts2必须
  28. freemarker-2.3.8.jar
  29. //struts2必须
  30. ognl-2.6.11.jar
  31. //struts2核心包
  32. struts2-core-2.0.11.2.jar
  33. //struts2整合Spring插件
  34. struts2-spring-plugin-2.0.11.2.jar
  35. //struts2必须
  36. xwork-2.0.5.jar
  37. Caused by: org.springframework.aop.framework.AopConfigException: Cannot proxy target class because CGLIB2 is not available
  38. com.springsource.net.sf.cglib-2.2.0.jar
<wbr></wbr>

你可能感兴趣的:(Caused by: java.lang.ClassNotFoundException: org.aopalliance.intercept.MethodInterceptor)