facebook

An internal error occurred during: "Generating JAX-WS W

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #294835 Reply

    shakeelabbas
    Member

    hello

    this stupid error has eaten my brain…….

    when i am trying to generate new web service i got the following error

    An internal error occurred during: “Generating JAX-WS Web Services”.
    Bad version number in .class file

    NOTE that it occurs in case when i am trying with jdk jdk1.6.0_12 or jdk 1.6 simply

    but it works fine with jdk 1.5

    i have to use jdk 1.6 but this error stop me doing so

    i am stucked here ………

    u can also try iam using

    MyEclipse Blue Edition

    Version: 7.0 Blue
    Build id: 7.0-Blue-20081201

    plz help

    one more thing i have tried this sol as well “eclipse.exe -clean”

    regards

    Shakeel Abbas

    #294848 Reply

    Loyal Water
    Member

    NOTE that it occurs in case when i am trying with jdk jdk1.6.0_12 or jdk 1.6 simply

    but it works fine with jdk 1.5

    Where are you changing the JDK to 1.6? Are you making this change at the project level?

    #294849 Reply

    Brian Fernandes
    Moderator

    Shakeel,

    As Nipun asked, where are you changing the JDK version? If you are setting the project Java version to 1.6, it may be necessary to run Eclipse with the same Java version as well. You can check the Java version Eclipse is using by going to MyEclipse > Installation Summary > Installation Details, see the Java version property.

    To specify a Java version explicitly, you need to start eclipse with something like “eclipse -vm c:\program files\java\jre6\bin\javaw.exe” (please correct the path to point to the javaw.exe on your machine).

    Hope this helps

    #294855 Reply

    shakeelabbas
    Member

    Thanks Nipun , thanks Brian 🙂

    i has changed the jdk from window>prefrences ……..then java…….installed jres and add a brand new JDK 1.6 u 12 ……

    as Brain indicated ” run Eclipse with the same Java version as well” i have done this ….. but now a mysterious response by myeclispe ……….

    now when i click on “New Web Service” and then select my project ………………. an stupid message appears along with little red cirle with a white curly cross “Project must be a JEE 5 web project”…

    thanks for the help……………

    #294859 Reply

    shakeelabbas
    Member

    any more clues plz 🙂

    #294867 Reply

    Loyal Water
    Member

    Have you tried running though our web service tutorials? Are you able to go through all the steps without issues?
    http://www.myeclipseide.com/documentation/quickstarts/webservices_jaxws/

    #294900 Reply

    shakeelabbas
    Member

    Yes Nipun… i have tried this web tutorial and infact i am following this tutorial

    let me explain on which step i face the problem…. according to this tutorial

    the problem is at step 5 in this tutorial ..

    when i click new web service> then select the project from select menu…… the same message appears as i indicated before …..”Project must be a JEE 5 web project”…

    here i am stuck …. u can also try this

    let me tell u one think last night during surfing i come across an topic similar to this in which it is clearly stated MYEclipse dont support java Ws webservices with jdk 1.6 ……….. is this true……??

    #294901 Reply

    shakeelabbas
    Member
    #294913 Reply

    Brian Fernandes
    Moderator

    Shakeel,

    Please see my clarification here: http://www.myeclipseide.org/index.php?name=PNphpBB2&file=viewtopic&p=102747#102747

    Also, the instructions I provided earlier to run with Java 6 were incorrect for MyEclipse 7, please see the above link for the correct instructions.

    Once you follow the above, please go to MyEclipse > Installation Summary > Installation Details, see the Java version property, does this report 1.6 or does it still say 1.5?

    when i click new web service> then select the project from select menu…… the same message appears as i indicated before …..”Project must be a JEE 5 web project”…

    What does the Info field on the wizard say when you select this project?

    I apologize for the mis-communication, please let us know if this works for you.

    #298799 Reply

    Dan Alonso
    Member

    i notice this post is not answered… and i have the same problem..

    Quote:
    when i click new web service> then select the project from select menu…… the same message appears as i indicated before …..”Project must be a JEE 5 web project”…

    the info field says J2EE 1.4 Web Project...
    there is a way to create a web service with this version?

    thank u.

    #298848 Reply

    Brian Fernandes
    Moderator

    Dannmx,

    In MyEclipse Blue you can use JAX-RPC to create web services in J2EE 1.4 projects – to be deployed to WebSphere. I’m afraid our other web service solutions, (REST, JAX-WS, XFire) all require JEE 5.

Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: An internal error occurred during: "Generating JAX-WS W

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