Beginning Java Web Services Chapter 3 unable to start SimpleAxisServer

kmthien

Senior member
Oct 8, 2002
363
0
0
Hi,

I have studied until chapter 3 page 96 and I was stuck there because I was unable to start the SimpleAxisServer, which the book ask me to just enter

java org.apache.axis.transport.http.SimpleAxisServer

I got the following error message :

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/transport/http/SimpleAxisServer


I am sure that I have set the environment variable of axisDirectory and jwsDirectory and I also dumped in all the required jar files !!

Pls help !!

 

lordex

Member
Feb 7, 2002
133
0
0
Originally posted by: kmthien

java org.apache.axis.transport.http.SimpleAxisServer

I got the following error message :

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/transport/http/SimpleAxisServer

I don't have Axis on this machine, but looks like you need to have the jar that contains org.apache.axis.transport.http.SimpleAxisServer on your classpath, i.e., something like:

set CLASSPATH=<all the jars you "dumped in to the directory">
java org.apache.axis.transport.http.SimpleAxisServer

HTH.