`

关于Spring3报org.aopalliance.intercept.MethodInterceptor错的问题解决方法

阅读更多
关于 Spring3 报org.aopalliance.intercept.MethodInterceptor问题解决方法


    运行环境:JDK1.6.0_22
              Oracle10g
              Spring3.0.4

    报错信息如下:
   
Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [SpringConfig_Jdbc.xml]; nested exception is java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor
(省略)...
Caused by: java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor

   
    出现了java.lang.NoClassDefFoundError:的错误,首先想到的就是少包,在网上搜搜了,果然是少了一个叫aopalliance.jar的jar包,下载这个包,加到路径里就OK了。
    下载地址:http://sourceforge.net/projects/aopalliance/files/
   
3
2
分享到:
评论
5 楼 dabing69221 2013-06-11  
java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor

晕死了,Spring3里边不提供依赖包;
4 楼 yourwafer 2012-12-05  
正解啊  
3 楼 feiMQ 2012-07-12  
今天和楼主遇到了相同的问题,啊,不可思议啊
2 楼 w156445045 2012-03-21  
现在Spring3不提供依赖的jar包了吗?
1 楼 chrislee1982 2011-02-28  
晕死!!
竟然少了包,是spring打包的时候大意了吧!

相关推荐

Global site tag (gtag.js) - Google Analytics