Java Mailing List Archive

http://www.junlu.com/

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

[jdom-interest] SAXPathException error during compilation

Pramodh Peddi

2004-07-30

Replies:

Hi,
I realize, from the archive list, this questions was posted once (or twice) before, but with no proper answer.
 
I am using Jaxen's XPath library to deal with xpaths. Where ever I have a reference to XPath(), it is throwing me compile time error saying: "cannot access org.saxpath.SAXPathException, file org\saxpath\SAXPathException.class not found".
 
Surprisingly I am getting these errors in NOT all of the classes, which use XPath. Only in one of the classes. And I have the jars jaxen, saxpath, jdom, xmlAPI, etc in the classpath library.
 
My Setup: I have saxpath-1_0b8.jar, jaxen-full-1_0b8.jar in my classpath. Though, I do no think compiler needs org.saxpath.SAXPathException class to be in the classpath.
 
Is anything wrong in my classpath settings?
 
Can anyone help me?
 
Thanks.
 
Pramodh.
©2008 junlu.com - Jax Systems, LLC, U.S.A.