problem: Exception in thread "main" java.lang.NoClassDefFoundError: javax/x
hi,
i am facing some problem while executing the program about web services,
i have followed every step in detail as given in the tutorial Developing web services with j2ee 1.4, its able to compile my program but i am not able to execute the program,
the deployment was successful and i was able to view that math-service/math?wsdl.
then i started to create web service client using static stub, i was able to compile and got the classfiles exactly as specified but when i execute it with
the command
c:/sun/appserver/apps/static/stub/java -classpath build sstub.MathClient
it gives an error saying that
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/rpc/Stub
i have also copied all the library files *.jar in lib and also in the directory endorsed to the directory jdk/jre/lib/ext even then its not working, i have also checked to make sure i am using the right version, the version i am using is
java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03
Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)
which i got thro cmd java -version
plz help
Regards
Ravi

