I have a class called XMLtoXML.java and this is one of it\'s methods...
import org.dom4j.Document;
import org.dom4j.Element;
import org.dom4
Looks like dom4j-full.jar
contains both dom4j
and jaxen
.
From you stacktrace I understand dom4j
is in the classpath, and it can find jaxen
, but when jaxen
looks for dom4j
it can't find it.
I think the jaxen that has been loaded from dom4j
isn't for some reason that one inside the dom4j-full.jar
but another one that you have within your application server classpath (and not in your eclipse of course), perhaps loaded from a different classloader. Maybe you have a jaxen.jar
in your shared libraries or something like this.
The stacktrace clearly states that other org.dom4j
classes are present and being used.
So it seems you have library version conflict.
dom4j and jaxen versions should be compatible with each other.
Compare their versions with those that work well in standalone mode.