Monday, June 27, 2011

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

Problem :

When I deploy a war in JBoss 6.0.0, I've the following error :

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


Solution :

It lacks the aspectjweaver Maven dependency :

  <dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>1.6.6</version>
</dependency>