NoClassDefFoundError:aspectj/weaver/reflect/ReflectionWorld$Reflection

Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [applicationContext.xml]; nested exception is java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException
 at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420)

异常原因

缺少aspectjweaver.jar这个包,该包是spring集成AspectJ LTW织入器所需包。

上一篇:struts1 核心类


下一篇:C++ 中的sort()排序函数用法