You're not including jdom.jar in your classpath. Is there a reason you need to use the beta version? JDOM 1.0 is over two years old now.
And... I don't know why you're referencing jaxp.jar in the first place. Both b10 and
1.0 contain a jar called xml-apis.jar. If you're using Java 1.5 (or 1.4 for that matter), you dont't need xml-apis.jar or xerces.jar. If you're not using JDOM's XPath classes, all you need is %JDOM_HOME%\build\jdom.jar, assuming JDOM_HOME is set to where you unzipped the
jdom-1.0.zip file.
On 11/28/06, Anshul Saxena <anshulacxiom@gmail.com> wrote:
I am getting the above error although my class path settings are :
CLASSPATH:
.;C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip;C:\java\jdom-b10\build;%JDOM_HOME%\build\classes;
%JAVA_HOME%\lib\tools.jar;%JDOM_HOME%\lib\xerces.jar;%JDOM_HOME%\lib\jaxp.jar
JAVA_HOME : C:\Program Files\Java\jdk1.5.0_09
JDOM_HOME: C:\java\jdom-b10
I cannot see any "jaxp.jar" file in the jdom folder. Is this the cause for the error. If it is, then how can i get this file. I don't think it comes with the current version of jdom-b10.
Kindly reply ASAP.
Regards
_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com