You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Thomas Schröter <t....@gmx.com> on 2003/01/28 21:26:50 UTC
Axis problem!
I am getting the following error when I am trying to run my application:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/client/Service
But I put all the jars in the <axis home>/lib directory on the classpath.
The example in <axis home>/samples/userguilde/example1 works fine if I uncomment the package-comment
and compile the TestClient.java. But my application, which is located in a jar file doesn't find the Service-Class if
I start the application using the following command:
java -jar application.jar
Nobody there who can help me ?
Re: Axis problem!
Posted by Carl Cabou <ex...@sncf.fr>.
It seems to be a classpath problem.
Are you sure the axis.jar file is in the classpath ?
Anyway, for Axis problems, you may use the Axis mailing list. Check it
out at http://ws.apache.org/axis/mail.html.
Thomas Schröter wrote:
> I am getting the following error when I am trying to run my application:
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/axis/client/Service
>
> But I put all the jars in the <axis home>/lib directory on the classpath.
> The example in <axis home>/samples/userguilde/example1 works fine if I
> uncomment the package-comment
> and compile the TestClient.java. But my application, which is located in
> a jar file doesn't find the Service-Class if
> I start the application using the following command:
>
> java -jar application.jar
>
> Nobody there who can help me ?
>
>
Re: Axis problem!
Posted by Carl Cabou <ex...@sncf.fr>.
It seems to be a classpath problem.
Are you sure the axis.jar file is in the classpath ?
Anyway, for Axis problems, you may use the Axis mailing list. Check it
out at http://ws.apache.org/axis/mail.html.
Thomas Schröter wrote:
> I am getting the following error when I am trying to run my application:
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/axis/client/Service
>
> But I put all the jars in the <axis home>/lib directory on the classpath.
> The example in <axis home>/samples/userguilde/example1 works fine if I
> uncomment the package-comment
> and compile the TestClient.java. But my application, which is located in
> a jar file doesn't find the Service-Class if
> I start the application using the following command:
>
> java -jar application.jar
>
> Nobody there who can help me ?
>
>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>