[XOM-interest] java.lang.IncompatibleClassChangeError Exception

Mangala mangalak at gmail.com
Thu Aug 14 14:08:44 EDT 2008


Hi,
I am running my web application on "jboss-5.0.0.CR1" with "xom-1.1" .


My code is:


try {

      //read the file

        Builder parser = new Builder();

configDoc = parser.build(configFile);

logger.debug("Config read: " + configDoc.toString());

} catch (ValidityException e) {

// TODO Auto-generated catch block

e.printStackTrace();

} catch (ParsingException e) {

// TODO Auto-generated catch block

        e.printStackTrace();

}

The jsp page is throwing an exception "java.lang.IncompatibleClassChangeError"
at "Builder parser = new Builder()" line.
It works fine with other servers like jetty.

Please let me know what might have gone wrong or how to fix this problem.

Thanks in advance,
Mangala


More information about the XOM-interest mailing list