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

Gurunathan, Gurukeerthi gurug at intermapsystems.com
Fri Jan 16 11:02:42 PST 2004


Great! It works now. Thank you very much Johan. I followed your suggestions.

Guru. 

-----Original Message-----
From: Johan Mörén [mailto:Johan.Moren at staff.spray.se]
Sent: Friday, January 16, 2004 2:29 AM
To: Gurukeerthi Gurunathan; jdom-interest at jdom.org
Subject: RE: [jdom-interest]
java.lang.NoClassDefFoundError:org/saxpath/SAXPathException


Hi!

I had similar problems. Check this thread for a soloution

http://www.servlets.com/archive/servlet/ReadMsg?msgId=446055&listName=jdom-i
nterest


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
> 

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.551 / Virus Database: 343 - Release Date: 12/11/03
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.551 / Virus Database: 343 - Release Date: 12/11/03
 



More information about the jdom-interest mailing list