1 2 3 Previous Next 40 Replies Latest reply on Mar 13, 2012 10:58 AM by simplex-software

    Can't create top-down web service with JBDS 4.1.1

    simplex-software

      Greetings,

       

      I'm trying to create a JBossWS web service from a WSDL: The wizard displays the following exception:

       

       

      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:202)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:248) Could not find the main class: org.jboss.wsf.spi.tools.cmd.WSConsume.  Program will exit.

       

      I have added the jbossws-spi.jar to the project's classpath but it doesn't seem to help.

       

      Many thanks in advance for any suggestion.

       

      Kind regards,

       

      Nicolas

        1 2 3 Previous Next