java.lang.ClassNotFoundException: org.aspectj.util.PartialOrder$PartialComparable

前端 未结 4 2100
醉话见心
醉话见心 2021-01-12 03:11

I am using Spring 4.2.4.RELEASE in my web application and I would like to remove the dependency on aspectjweaver.jar from it. I don\'t use AOP directly and I certainly don\'

4条回答
  •  误落风尘
    2021-01-12 03:49

    I encountered this problem when using the @Transactional annotation on a class annotated with @Component in Spring Boot similar to: https://spring.io/guides/gs/managing-transactions/

    The easiest way to fix it is to add the proper Maven dependency:

    
      org.aspectj
      aspectjweaver
      1.8.9
    
    

提交回复
热议问题