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

来源:互联网 发布:伤感网络红歌在线试听 编辑:程序博客网 时间:2024/05/17 06:23
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
0 0
原创粉丝点击