| Author |
Message |
|
|
Post subject: An internal error occurred during: "Generating JAX-WS W
Posted: Feb 15, 2009 - 09:30 PM
|
|
Joined: Feb 15, 2009
Posts: 5
|
|
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 |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: An internal error occurred during: "Generating JAX-
Posted: Feb 16, 2009 - 08:08 AM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 8013
|
|
| Quote: |
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? |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 16, 2009 - 09:37 AM
|
|
Moderator


Joined: Aug 21, 2004
Posts: 2339
|
|
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 |
_________________ Brian
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 16, 2009 - 11:27 AM
|
|
Joined: Feb 15, 2009
Posts: 5
|
|
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............... |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 16, 2009 - 01:43 PM
|
|
Joined: Feb 15, 2009
Posts: 5
|
|
|
|
|
 |
|
|
Post subject:
Posted: Feb 16, 2009 - 05:59 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 8013
|
|
|
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 17, 2009 - 04:46 AM
|
|
Joined: Feb 15, 2009
Posts: 5
|
|
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......?? |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Feb 17, 2009 - 04:50 AM
|
|
Joined: Feb 15, 2009
Posts: 5
|
|
|
|
|
 |
|
|
Post subject:
Posted: Feb 17, 2009 - 02:57 PM
|
|
Moderator


Joined: Aug 21, 2004
Posts: 2339
|
|
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?| 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"... |
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. |
_________________ Brian
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: May 27, 2009 - 06:10 PM
|
|
Joined: May 27, 2009
Posts: 1
|
|
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. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: May 28, 2009 - 08:43 PM
|
|
Moderator


Joined: Aug 21, 2004
Posts: 2339
|
|
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. |
_________________ Brian
MyEclipse Support
|
| |
|
|
|
 |
|
|