Hello,

I try to follow the tutorial provided by axis in
"axis-bin-1_4\axis-1_4\docs\user-guide.html", but when I tape this command,
I have a class not found exception I can't resolve:


commande : 

C:\Documents and
Settings\Hichem\Bureau\axis-bin-1_4\axis-1_4\samples\userguide\example2>
java -classpath . samples.userguide.example2.CalcClient

Exception :
Exception in thread "main" java.lang.NoClassDefFoundError:
samples/userguide/ex
Caused by: java.lang.ClassNotFoundException:
samples.userguide.example2.CalcCli
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Error: Could not find the main class.
Error: A JNI error has occurred, please check your installation and try
again

Nevertheless, I located those pathes in my CLASSPATH.  (My OS is Windows
XP).

C:\Documents and
Settings\Bureau\axis-bin-1_4\axis-1_4\samples\userguide\example2;
C:\Program Files\axis-bin-1_4\axis-1_4\lib\*.jar;
C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\*.jar;

Thanks.

Best regards.
-- 
View this message in context: 
http://www.nabble.com/classe-not-found-exception-tp24626427p24626427.html
Sent from the Axis - Dev mailing list archive at Nabble.com.

Reply via email to