`
Suzh.Q
  • 浏览: 18902 次
  • 性别: Icon_minigender_1
  • 来自: 大连
社区版块
存档分类
最新评论

Configuration problem: Failed to import bean definitions from relative location

    博客分类:
  • SSH
阅读更多

严重: Context initialization failed
org.springframework.beans.factory.parsing.BeanDefinitionParsingException:

Configuration problem: Failed to import bean definitions from relative location [dataSourceConfig.xml]
Offending resource: ServletContext resource [/WEB-INF/config/beans-base-config.xml]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException:

Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/config/dataSourceConfig.xml]; nested exception is java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException

 

Caused by: java.lang.ClassNotFoundException: org.aspectj.weaver.reflect.ReflectionWorld$ReflectionWorldException

 

问题原因:缺少aspectjweaver.jar

解决方法:添加aspectjweaver.jar

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics