Hi there, I'm using a fresh install of JBossIDE 2.0 Beta 2 along with JBossAS 4.0.5 to
which I've added the JDK5 version of JBossWS.
While trying to do the following step: Context Menu - Jboss Ws - Publish as Web Service,
I'm getting the following:
Running JBossWS wstools for [ProvisioningService]
| directory: C:\Temp\workspaceJboss\ProvisioningService
| command: cmd.exe /C C:\Temp\jboss-4.0.5.GA\bin\wstools.bat -cp build/classes -config
C:\DOCUME~1\ROMEU_~1\LOCALS~1\Temp\wstools-config42134.xml -dest
C:\Temp\workspaceJboss\ProvisioningService\src\gen
| ========================================================================="
| .
| WSTools Environment
| .
| JBOSS_HOME: C:\Temp\jboss-4.0.5.GA\bin\\..
| .
| JAVA: C:\Program Files\Java\jdk1.5.0_07\bin\java
| .
| JAVA_OPTS:
| .
| ========================================================================="
| .
| Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad
version number in .class file
| at java.lang.ClassLoader.defineClass1(Native Method)
| at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
| at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
| at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
| at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
| at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
| at java.security.AccessController.doPrivileged(Native Method)
| at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at org.jboss.ws.tools.helpers.ToolsHelper.loadClass(ToolsHelper.java:369)
| at
org.jboss.ws.tools.helpers.ToolsHelper.handleJavaToWSDLGeneration(ToolsHelper.java:110)
| at org.jboss.ws.tools.WSTools.process(WSTools.java:132)
| at org.jboss.ws.tools.WSTools.generate(WSTools.java:120)
| at org.jboss.ws.tools.WSTools.main(WSTools.java:61)
Now it seems to be a conflict of java Versions, but I cannot seem to find out why.
Can you help me on this one?
Thanks,
Romeu
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980101#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...