JBoss Community

Which versions for eclipse + JBoss AS + JDK + JBossWS

created by Giuliano Aparecido in JBoss Web Services - View the full discussion

Hi,

 

Where can I see the possible configuration supported to create web services?
Like eclipse, jdk, JBossWS, JBoss AS, etc...

 

I am asking because my company has a system in JBoss AS 4.2.2 with jdk 1.6.0_07 and I need to create a web service. But when I try to create the web service using the eclipse wizard, I get the message:

 

Error: Could not generate. (use --show-traces to see full traces)
java.lang.NoClassDefFoundError: com/sun/codemodel/JExpression

at org.jboss.ws.tools.jaxws.impl.JBossWSProviderImpl.provide(JBossWSProviderImpl.java:89)

at org.jboss.ws.tools.jaxws.impl.JBossWSProviderImpl.provide(JBossWSProviderImpl.java:123)

at org.jboss.wsf.spi.tools.cmd.WSProvide.generate(WSProvide.java:184)

at org.jboss.wsf.spi.tools.cmd.WSProvide.main(WSProvide.java:77)
Caused by: java.lang.ClassNotFoundException: com.sun.codemodel.JExpression

at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

... 4 more

 

I am using the JBossWS from the JBoss AS, at JBossWS Preferences I just appointed to JBoss AS folder...

 

Any idea?

 

Thanks!

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community