Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
    Bookmark Topic Watch Topic
  • New Topic

Trying to Run AXIS examples - New to Java  RSS feed

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,
I am sorry if this has been asked a thousand times but....

1. I have installed AXIS 1.3 and all seems well i.e. I can view the happyaxis.jsp page and all the relevant jars are there.

2. As a post install activity I tried to run some of the web samples provided in the "Consuming Web Services with AXIS" section of the users guide. (samples\userguide\example1\TestClient.class) i.e. java samples.userguide.example1.TestClient

3. When I do this I get the "java.lang.NoClassDefFound" error.

4. I had assumed this meant the environment was looking for something it couldn't find, so as part of the java command I added the "-cp" switch followed by all the jar files referenced in the AXISCLASSPATH path i.e. axis.jar, activation.jar, ........

5. Same Error

Can someone inform me of what could be mising?
 
Rancher
Posts: 42975
76
  • Mark post as helpful
  • send pies
  • Report post to moderator
I've posted a reply in the duplicate thread in Web Services. Please don't post a question to more than one forum.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!