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

spring 配置事物启动报错:
解决放法: 集成 AspectJ LTW织入器所需包 ,缺少包
加入下列包则运行ok
 
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<scope>runtime</scope>
</dependency>
 
 
--运行ok

猜你喜欢

转载自miss-cyan.iteye.com/blog/2323361