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