MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
hpoints
Post subject: Error during WsImport  PostPosted: Feb 12, 2008 - 09:22 PM



Joined: Feb 12, 2008
Posts: 1

I am running the add web service wizard. I specify my wsdl, j2ee 5 and jax-ws options. It seems ok with my wsdl, but when I hit finish, I get the following error. It seems like a java 1.4 jvm is trying to load a java 1.5 class. This is confusing because I am running the jvm included with MyEclipse blue which is 1.5.

Any ideas..

The following errors occurred while running WsImport. Generation aborted.
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/sun/tools/ws/WsImport (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:810)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:147)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:475)
at java.net.URLClassLoader.access$500(URLClassLoader.java:109)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:848)
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java:389)
at java.net.URLClassLoader.findClass(URLClassLoader.java:371)
at java.lang.ClassLoader.loadClass(ClassLoader.java:572)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:442)
at java.lang.ClassLoader.loadClass(ClassLoader.java:563)
at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:90)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:239)
 
 View user's profile Send private message  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Feb 13, 2008 - 06:21 PM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2508

hpoints,

A clarification, when running WsImport, MyEclipse uses the VM that is associated with your target server, not the VM that you run MyEclipse with.

The WsImport tool is part of your server install and so it should be completely compatible with the VM shipped with your server.

I assume this is WAS 6.1 with the WS feature pack; after configuring it, did you make any changes to it's JDK? Can you check the JDK associated with that server (see the JDK preference page under the WAS 6.1 pref page) and ensure that is is the JDK shipped with the server?

Hope this helps.

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Feb 27, 2008 - 02:49 PM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2508

hpoints,

We are getting ready for our next release and would like to make sure this issue is resolved. Could you let us know if you managed to get the tools working for you?

We appreciate your support.

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits