当前位置: 代码迷 >> .NET Framework >> spring3.0.5起步报错:org.springframework.beans.factory.BeanDefinitionStoreException
  详细解决方案

spring3.0.5起步报错:org.springframework.beans.factory.BeanDefinitionStoreException

热度:98   发布时间:2016-05-02 00:21:48.0
spring3.0.5启动报错:org.springframework.beans.factory.BeanDefinitionStoreException
一 开发环境: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

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

  相关解决方案