spring中加入aop库出错

报错信息如下: 

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

解决方法:

在MyEclipse中,在项目上右击build path—>configure build path..—>add library..—>MyEclipse Libraries选中Spring2.0 AOP Library

原文地址:https://www.cnblogs.com/vigarbuaa/p/2369996.html