Back Forum Reply New

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

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.

Thanks. I found it in maven by adding Code: lt;dependencygt; lt;groupIdgt;aspectjlt;/groupIdgt; lt;artifactIdgt;aspectjweaverlt;/artifactIdgt; lt;versiongt;1.5.2lt;/versiongt; lt;/dependencygt;
in my pom.xml
¥
Back Forum Reply New