原文:Spring3 报org.aopalliance.intercept.MethodInterceptor问题解决方法
一 开发环境:JDK5+Spring3.0.5+Myeclipse6.6+Tomcat6
二 启动报错如下:
1 Configuration problem: Unable to locate Spring NamespaceHandler
for XML schema namespace [http://www.springframework.org/schema/tx]
拷贝jar到WEB-INF/lib中加入:
- org.springframework.transaction-3.0.5.RELEASE.jar
2 Unexpected exception parsing XML document from file
nested exception is java.lang.NoClassDefFoundError: org/springframework/aop/config/AopNamespaceUtils
拷贝jar到WEB-INF/lib中加入:
- org.springframework.aop-3.0.5.RELEASE.jar
3 Unexpected exception parsing XML document from file
nested exception is java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor
拷贝jar到WEB-INF/lib中加入:
- aopalliance-1.0.jar
下载地址:http://sourceforge.net/projects/aopalliance/files/
附件中已上传!
参考地址:
关于 Spring3 报org.aopalliance.intercept.MethodInterceptor问题解决方法
http://coolhorse168.iteye.com/blog/789511