Though JDom.jar and Jaxen-1.1.jar are included in the .aar, the xml
parser still can't work.
JDom.jar needs to be put into axis2/WEB-INF/lib to make jdom work
correctly with jaxen in AXIS2.
(There is a Jaxen-1.1.jar in the axis2/WEB-INF/lib already.)


Tony

-----Original Message-----
From: Glen Mazza [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 31, 2007 4:29 AM
To: [email protected]
Subject: Re: try to use AXIS2 ADB


Also, make sure you placed the jar files in the correct place within the
aar--in a "lib" folder directly under the top-level directory[1].

Glen

[1]
http://svn.apache.org/viewvc/webservices/axis2/trunk/java/xdocs/1_1/quickstartguide.html?r1=512180&r2=519540&diff_format=h

Am Freitag, den 30.03.2007, 10:36 +0530 schrieb Amila Suriarachchi:
this seems to be a class loading problem. can you try putting your
custom jars to global lib as well?

On 3/29/07, Li, Tony <[EMAIL PROTECTED]> wrote:
        My classes do need jdom.jar. They work fine before I decide to
        use AXIS2 to provide ws.
        I rewrote a class to provide ws, and created a ADB client for
        it.

        I put all the required jars in the deployed aar, and I get
        such error.

        Any thoughts on this?

        Thanks

        Tony

         -----Original Message-----
        From: Amila Suriarachchi [mailto:[EMAIL PROTECTED]
        Sent: Thursday, March 29, 2007 11:17 AM
        To: [email protected]
        Subject: Re: try to use AXIS2 ADB


                can you explain your problem bit.
                Axis2 does not use jdom. So it seems to be your
                skelton class problem

                On 3/29/07, Li, Tony <[EMAIL PROTECTED]> wrote:
                        Try to use AXIS2 ADB, and get such
                        errors: org.apache.axis2.AxisFault:
                        java.lang.NoClassDefFoundError:
                        org/jdom/Parent

                        Are there conflicts between jaxen and jdom or
                        caused by other reasons?

                        Thanks

                        Tony







                --
                Amila Suriarachchi,
                WSO2 Inc.



--
Amila Suriarachchi,
WSO2 Inc.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to