Hi,

I try to run Java2WSDL command in Axis example6, but I
got an error:  Does anyone have the same problem?  Please help.
java.lang.ClassNotFoundException:
samples.userguide.example6.WidgetPrice
I run the command in Axis sample (Below)on Windows OS.  
java org.apache.axis.wsdl.Java2WSDL -o wp.wsdl 
-l"http://localhost:8080/axis/services/WidgetPrice" -n
 "urn:Example6" -p"samples.userguide.example6"
"urn:Example6"  samples.userguide.example6.WidgetPrice
Complete Error message:
java.lang.ClassNotFoundException:samples.userguide.example6.WidgetPrice
        at
java.net.URLClassLoader$1.run(URLClassLoader.java:199)
        at
java.security.AccessController.doPrivileged(Native
Method)
        at
java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at
java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
        at
java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:141)
        at
org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:197)
        at
java.security.AccessController.doPrivileged(Native
Method)
        at
org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:171)
        at
org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:112)
        at
org.apache.axis.wsdl.fromJava.Emitter.setCls(Emitter.java:1477)
        at
org.apache.axis.wsdl.Java2WSDL.run(Java2WSDL.java:500)
        at
org.apache.axis.wsdl.Java2WSDL.main(Java2WSDL.java:542)
 

Reply via email to