1 Reply Latest reply on Sep 9, 2008 11:27 AM by Sean O'Callaghan

    unable to run wsdl_first sample application in servelt container

    Amarnath Gajula Newbie

      when i want to run wsdl_first in samples using servlet container(tomcat 5.5), i created war file and deployed in tomcat. Using java, i executed the command "java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties

             demo.hw.client.Client http://localhost:8080/helloworld/services/hello_world?wsdl ". but i am getting an  error message like"

      Exception in thread "main" java.lang.NoClassDefFoundError: demo/hw/client/Client

       

      Caused by: java.lang.ClassNotFoundException: demo.hw.client.Client

              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)"

       

      can you help me what might have went wrong? and even if open any tomcat browser and select the hello_world.war resource in the server, am getting an error page like "The requested resource (/helloworld/) is not available". kindly guide me.