spring aop 错误解决无法查询到internalAutoProxyCreator

来源:互联网 发布:网络教育机构排名 编辑:程序博客网 时间:2024/05/16 23:59


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 [org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor


该错误的原因是缺少了aopalliance-1.0.jar包,因此将此此包加入即可解决该问题。


0 0
原创粉丝点击