Soumanjoy,

try to use dom4j-full.jar instead of dom4j.jar; a seperate jaxen.jar will
not be needed.

In JBuilder define a libary for DOM4J and add that libary to your project.

Good luck, Silvain

----- Original Message -----
From: "Soumanjoy Das" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 11, 2002 9:01
Subject: [dom4j-user] Compilation problem with dom4j


> Hi,
>
> I'm new to JDOM, although I have a lot of experience using MS-XML/DOM. My
> question is basically that of a total newbie - I hope I make sense:
> I downloaded the entire dom4j-1.3 build from Sourceforge, and tried to
> include the dom4j.jar in a Project in JBuilder. I used the following
> statements in one class module:
>
> DocumentHelper oDocFac = new DocumentHelper();
> XPath oXP = oDocFac.createXPath("//Parent[@name = 'parent']");
>
> which gave me the following compilation error:
>
> "Dump.java": Error #: 314 : cannot access class org.jaxen.VariableContext;
> zip file is corrupted at line 41, column 27
>
> I downloaded the zip file twice, and updated the dom4j.jar in my project.
> But the same thing happened. Is there something else that I'm supposed to
do
> (i.e. include another jar file)? I also included jaxen.jar in my project
> (both times) - no use. Could anyone let me know what I'm doing wrong?
>
> Thanks
> Soumanjoy
>
> _______________________________________________
> dom4j-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dom4j-user


_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to