Skip to Content.
Sympa Menu

xom-interest - [XOM-interest] java.lang.IncompatibleClassChangeError Exception

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Mangala <mangalak AT gmail.com>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: [XOM-interest] java.lang.IncompatibleClassChangeError Exception
  • Date: Thu, 14 Aug 2008 13:08:44 -0500

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




Archive powered by MHonArc 2.6.24.

Top of Page