JBoss Community

wsconsume (org/jboss/wsf/spi/tools/cmd/WSConsume) ClassNotFoundException.

created by Velmurugan Rajendran in JBoss Web Services - View the full discussion

hi, while running wsconsume the following exception occurs.

 

I added jbossws-spi.jar in CLASSPATH, but still the exception occurs...


Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/wsf/spi/tools/cmd/WSConsume

Caused by: java.lang.ClassNotFoundException: org.jboss.wsf.spi.tools.cmd.WSConsume

        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

 

anybody explain why such exception occurs and how to resolve this.

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community