按照aspectJ配置之后,启动Tomcat出错

来源:6-2 声明式事务管理方式二:基于AspectJ的XML方式

monkeyhonkey

2015-12-24 11:48

信息: Initializing Spring root WebApplicationContext

[org.springframework.web.context.ContextLoader] - Root WebApplicationContext: initialization started

[org.springframework.web.context.support.XmlWebApplicationContext] - Refreshing Root WebApplicationContext: startup date [Thu Dec 24 11:43:40 CST 2015]; root of context hierarchy

[org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from class path resource [spring-mybatis.xml]

[org.springframework.web.context.ContextLoader] - Context initialization failed

java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException


引入了aspectJweaver.jar之后也不起作用??  我用的是spring mvc + maven的方式


写回答 关注

1回答

  • 飞鸿踏灵犀
    2015-12-29 21:24:53

    是不是版本不对

Spring事务管理

事务管理是Spring重要的知识,应用事务解决数据不一致问题

87319 学习 · 199 问题

查看课程

相似问题