[jdom-interest] [jira] Resolved: (AXIS2-3413) Cannot use JDOM within Axis2 (java.lang.NoClassDefFoundError: org/jdom/Parent)

Alfred Wong alwong at rim.com
Mon Aug 11 14:02:16 PDT 2008


Hi there,

 

   I have read a few different threads about the subjects, I have
jdom-1.1 and axis2-1.4 and I assume the problem is resolved in axis2-1.4
and I have removed the vanilla jaxen jar file and replaced it with
jaxen-jdom, jaxen-core and saxpath. I have even written a couple line of
code to prove that the classpath is correct as below

 

JaxenException jaxenException = new JaxenException("Test");

System.out.println(jaxenException.getMessage());

 

It will print Test. That tells me the lib is correct, if I remove
jaxen-core, it will not work. I am not sure why I am still getting the
NoClassDefFound error when I try to do 

 

XPath.newInstance("Whatever");

 

   Since the fix seem to be removing the vanilla jaxen and what is the
actual fix in 1.4?

 

I have read the other thread that talked about hidden-classes and is my
problem related? Since I am not using Geronimo, is that problem related?


 

Regards,

Alfred Wong,

BlackBerry ODM Handheld Software - Automation

Phone 519-888-7465 x77469

Research In Moton

 


---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.jdom.org/pipermail/jdom-interest/attachments/20080811/5b844d04/attachment.htm


More information about the jdom-interest mailing list