facebook

Create Web Service Project in Websphere

  1. MyEclipse IDE
  2.  > 
  3. WebSphere Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #352426 Reply

    Mohamad Sariman
    Participant

    Hi,
    I was following the exact step as in the guide “JAX-WS Web Services for WebSphere Tutorial”.
    At this step
    “MyEclipse Blue generates the web service stubs and binding classes necessary for this web service to be deployed to the target application server set in the first step”
    I am getting this error.

    The following errors occurred while running WsGen. Generation aborted.
    Exception in thread “main” java.lang.NoClassDefFoundError: com.ibm.ws.bootstrap.WSLauncher
    Caused by: java.lang.ClassNotFoundException: com.ibm.ws.bootstrap.WSLauncher
    at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
    at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:703)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:682)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:665)

    Please help.

    Attachments:
    You must be logged in to view attached files.
    #352431 Reply

    support-swapna
    Moderator

    msariman,

    Sorry that you are seeing this issue. Thank you for the screencast. I could not replicate the issue at my end.

    Can you please answer some more questions for us?

    1. Can you check the JDK associated with WAS 8.0 server (see the JDK preference page under the WAS 8.0 pref page) and ensure that it points to the JDK shipped with the server?

    2. If you are still seeing issues, clear the contents of the .log file which is located at <workspace dir>/.metadata/.log.

    Run the MyEclipse Blue as administrator ( right click on myeclipse-blue.exe and select Run as administrator). Ensure the JDK associated with WAS 8.0 is the one that is shipped with the server. Replicate the issue and send us the .log file to help us investigate further.

    3. Also please share the MyEclipse installation details from MyEclipse > Installation Summary > Installation Details along with the exact version of the WAS and OS version details.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Create Web Service Project in Websphere

You must be logged in to post in the forum log in