In my app, in runtime I was getting java.lang.NoClassDefFoundError: org/jaxen/NamespaceContext
So after looking into this thread I added dom4j.jar
and jaxen.jar
to my classpath using maven:
<dependency>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
<version>1.6.1</version>
</dependency>
<dependency>
<groupId>jaxen</groupId>
<artifactId>jaxen</artifactId>
<version>full</version>
</dependency>
After dong that I have encountered a differnt exception:
java.lang.NoClassDefFoundError: org/saxpath/SAXPathException
I was not able to locate any proper solution. Any ideas?
Thanks in advance