Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

[jdom-interest] java.lang.NoClassDefFoundError:org/saxpath/SAXPathException

Gurukeerthi Gurunathan

2004-01-15


Hello,

I am getting a
java.lang.NoClassDefFoundError:org/saxpath/SAXPathException while trying
to access a jsp, which in turn calls a bean, in my web application. I
got the same during unit testing of my bean, but I overcame it by adding
different jars like jaxen-core, jaxen-jdom, saxpath and jdom. But
inspite of including these in my deploy ear file, I am getting this
exception. The code that I used is,

SAXBuilder builder = new SAXBuilder();
builder.setIgnoringElementContentWhitespace(true);
doc = builder.build(l_url);
XPath channelPath = XPath.newInstance("//Channel[@(protected) +
"\"]/Link");

My app server is jboss with jetty. Please help me.

Thanks,
Guru.

_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.