Caused by: java.lang.ClassNotFoundException: org.aopalliance.intercept.MethodInterceptor
Posted VipMao
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Caused by: java.lang.ClassNotFoundException: org.aopalliance.intercept.MethodInterceptor相关的知识,希望对你有一定的参考价值。
SpringAop中报如下错误:
Exception in thread "main"
org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'org.springframework.aop.config.internalAutoProxyCreator':
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class
Caused by: java.lang.ClassNotFoundException: org.aopalliance.intercept.MethodInterceptor
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 26 more
Caused by: java.lang.ClassNotFoundException: org.aopalliance.intercept.MethodInterceptor
导致原因:
项目缺少aopalliance.jar
解决方案:
在项目中添加aopalliance.jar
下载地址:
http://download.csdn.net/detail/vipmao/9557943
以上是关于Caused by: java.lang.ClassNotFoundException: org.aopalliance.intercept.MethodInterceptor的主要内容,如果未能解决你的问题,请参考以下文章
Mathematical Problems Caused by CCD
Caused by: java.lang.NoClassDefFoundError:
异常Caused by: java.lang.ClassNotFoundException: org.springframework.dao.DataIntegrityViolationExcep