   | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | |  | SV: [jdom-interest] java.lang.NoClassDefFoundError:org/saxpath/SAXPathException | SV: [jdom-interest] java.lang.NoClassDefFoundError:org/saxpath/SAXPathException 2004-01-16 - By Per Norrman
Back Hi, I wonder if this problem is due to JBOSS using a non-spec-compliant class loading scheme, per default. I've seen some posts implying that it is possible to change this behaviour, and configure isolated application class repositories. This would be a more robust solution.
Specifically
http://www.servlets.com/archive/servlet/ReadMsg?msgIdC1753&listName=jd om-interest
Have not tested myself, though.
/pmn
> -- --Ursprungligt meddelande-- -- > Fr?n: jdom-interest-admin@(protected) > [mailto:jdom-interest-admin@(protected)] F?r Gurunathan, Gurukeerthi > Skickat: den 16 januari 2004 20:03 > Till: 'Johan M?r?n'; jdom-interest@(protected) > ?mne: RE: [jdom-interest] > java.lang.NoClassDefFoundError :org/saxpath/SAXPathException > > > Great! It works now. Thank you very much Johan. I followed > your suggestions. > > Guru. > > -- --Original Message-- -- > From: Johan M?r?n [mailto:Johan.Moren@(protected)] > Sent: Friday, January 16, 2004 2:29 AM > To: Gurukeerthi Gurunathan; jdom-interest@(protected) > 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?msgIdD6055&l > istName=jdom-i > nterest > > > regards, > Johan M?r?n > > > -- --Original Message-- -- > > From: Gurukeerthi Gurunathan [mailto:gurug@(protected)] > > Sent: den 16 januari 2004 03:25 > > To: jdom-interest@(protected) > > 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[@(protected)=\"" + > > 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@(protected) > > > > --- > 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 > > __ ____ ____ ____ ____ ____ ____ ____ ____ ____ > To control your jdom-interest membership: > http://lists.denveronline.net/mailman/options/jdom-interest/yo uraddr@(protected)
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ To control your jdom-interest membership: http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@(protected) .com
Earn $52 per hosting referral at Lunarpages.
|
|
 |