I am pretty new at this Dom4J stuff so if anybody could please help me
with my problem, it would be great.
Here's the problem, every time I try to instantiate a new
org.dom4j.io.SAXReader, I get an error that says that Aelfred is going
to be used instead. I turned on verbose mode and the following trace is
printed out:
Warning: Caught exception attempting to use JAXP to load a SAX XMLReader
Warning: Exception was: java.lang.LinkageError: loader constraints
violated when linking org/xml/sax/XMLReader class
Warning: I will print the stack trace then carry on using the default
SAX parser
java.lang.LinkageError: loader constraints violated when linking
org/xml/sax/XMLReader class
at org.dom4j.io.JAXPHelper.createXMLReader(JAXPHelper.java:38)
at
org.dom4j.io.SAXHelper.createXMLReaderViaJAXP(SAXHelper.java:80)
at org.dom4j.io.SAXHelper.createXMLReader(SAXHelper.java:49)
at org.dom4j.io.SAXReader.createXMLReader(SAXReader.java:524)
at org.dom4j.io.SAXReader.getXMLReader(SAXReader.java:407)
My classpath is as follows (excluding any of our jars):
xerces.jar
xalan.jar
dom4j.jar
Does anybody have any ideas? Co-workers seem to be using the same path
but they never get this error.
Thanks in advance!
Ben Morris
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user