关于Spring3报org.aopalliance.intercept.MethodInterceptor错的有关问题解决办法
关于Spring3报org.aopalliance.intercept.MethodInterceptor错的问题解决方法关于 Spring3 报org.aopallia
关于Spring3报org.aopalliance.intercept.MethodInterceptor错的问题解决方法
关于 Spring3 报org.aopalliance.intercept.MethodInterceptor问题解决方法
运行环境:Spring3.1.0.RELEASE
报错信息如下:
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
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/