Thanks Philipp,

It's working,
I copied
axiom-*.jar,
axis2-*.jar,
commons-*.jar
stax-api-1.0.1.jar & some other jar files in Tomcat/lib directory.

We can copy that file in to out application/lib folder also.

Once again thanks for your help



With best regards

From
Vikas R. Khengare

----- Original Message ----- 
From: "Philipp Leitner" <[EMAIL PROTECTED]>
To: <axis-user@ws.apache.org>
Sent: Monday, April 02, 2007 4:25 PM
Subject: Re: java.lang.NoClassDefFoundError: org/apache/axiom/om/OMElement


> most probably you are missing the axiom jar in the classpath when
> running your servlet. try to copy the Axis2 jars into the "lib"
> directory of your application server.
>
> /philipp
>
> Vikas schrieb:
> > Hi Friends,
> >
> > I have written a simple web service which returns "Hello World" string
> > using AXIOM. I also wrote client which access that service using AXIOM.
> > When I run my client program on console, it works very fine. But when
> > tried to access client from JSP/Servlet I am getting
> > "java.lang.NoClassDefFoundError: org/apache/axiom/om/OMElement" error.
> >
> > I am confused that when i run same code on console it work fine but why
> > not with JSP/Servlet?
> >
> >
> > With best regards
> >
> > From
> > Vikas R. Khengare
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 268.18.24/742 - Release Date: 4/1/2007
8:49 PM
>
>


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

Reply via email to