[jdom-interest] java.lang.NoClassDefFoundError:org/saxpath/SAXPathException
Johan Mörén
Johan.Moren at staff.spray.se
Fri Jan 16 02:29:26 PST 2004
Hi!
I had similar problems. Check this thread for a soloution
http://www.servlets.com/archive/servlet/ReadMsg?msgId=446055&listName=jdom-interest
regards,
Johan Mörén
> -----Original Message-----
> From: Gurukeerthi Gurunathan [mailto:gurug at intermapsystems.com]
> Sent: den 16 januari 2004 03:25
> To: jdom-interest at jdom.org
> Subject: [jdom-interest]
> java.lang.NoClassDefFoundError:org/saxpath/SAXPathException
>
> 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[@id=\"" +
> chId + "\"]/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/yo
> uraddr at yourhost.com
>
More information about the jdom-interest
mailing list