Announcement Announcement Module
Collapse
No announcement yet.
java.lang.NoClassDefFoundError: org/aspectj/weaver/tools/PointcutPrimitive Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • java.lang.NoClassDefFoundError: org/aspectj/weaver/tools/PointcutPrimitive

    I try to setup the transaction in my applicationContext, but when I launch my test I got this error java.lang.NoClassDefFoundError: org/aspectj/weaver/tools/PointcutPrimitive.

    Does somebody test me which package I have to add and if possible the maven repository where it is located.

    Thanks
    Dominique

  • #2
    You need the aspectj tools library - you can find the jars inside the spring-with-dependencies.zip (under lib/aspectj). I'm not sure about the maven location - I guess you can find that easily by doing a google or looking at the aspect J site.

    Comment


    • #3
      Thanks. I found it in maven by adding

      Code:
        	<dependency>
        		<groupId>aspectj</groupId>
        		<artifactId>aspectjweaver</artifactId>
        		<version>1.5.2</version>
        	</dependency>
      in my pom.xml

      Comment

      Working...
      X