[
https://issues.apache.org/jira/browse/AXIS2-5485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13644312#comment-13644312
]
Kishanthan Thangarajah commented on AXIS2-5485:
-----------------------------------------------
This looks like a duplicate of AXIS2-3413. If you carefully look at AXIS2-3413,
It is resolved saying that this is not an axis2 issue but rather jdom is
shipping a modified version of jaxen [1]. So if you want to use jdom XPath
impl, then the solution for this is to add jdom to classpath, or remove vanilla
jaxen jar from axis2, which is what you have also suggested.
Kishanthan.
[1]
https://issues.apache.org/jira/browse/AXIS2-3413?focusedCommentId=12574574&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12574574
> Axis2 v1.6.x: org.jdom.JDOMException: java.lang.NoClassDefFoundError:
> org/jdom/Parent
> -------------------------------------------------------------------------------------
>
> Key: AXIS2-5485
> URL: https://issues.apache.org/jira/browse/AXIS2-5485
> Project: Axis2
> Issue Type: Bug
> Components: deployment
> Affects Versions: 1.6.1
> Environment: Win-7
> Reporter: Mark Gorokhov
> Labels: patch
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> The issue reported in
> https://issues.apache.org/jira/browse/GERONIMO-3894
> https://issues.apache.org/jira/browse/AXIS2-3413
> is back.
> How to reproduce:
> 1. Create aar-file with jdom-1.1.jar and jaxen-1.1.1.jar
> 2. Use call "XPath.newInstance(..)" in aar-file
> Discussion:
> The class loader loads axis2/WEB-INF/lib/jaxen-1.1.1.jar and failed to load
> missing axis2/WEB-INF/lib/jdom-1.1.jar
> The solution would be to remove axis2/WEB-INF/lib/jaxen-1.1.1.jar if it's not
> required for axis2 or add dependent axis2/WEB-INF/lib/jdom-1.1.jar
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]