4 Replies Latest reply on Jul 25, 2011 12:11 PM by Velmurugan Rajendran

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

    Velmurugan Rajendran Newbie

      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.