[jboss-user] [JBoss Web Services] - Which versions for eclipse + JBoss AS + JDK + JBossWS

Giuliano Aparecido do-not-reply at jboss.com
Fri Aug 31 05:03:26 EDT 2012


Giuliano Aparecido [https://community.jboss.org/people/giuliano.rap] created the discussion

"Which versions for eclipse + JBoss AS + JDK  + JBossWS"

To view the discussion, visit: https://community.jboss.org/message/757194#757194

--------------------------------------------------------------
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
[https://community.jboss.org/message/757194#757194]

Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120831/ac82c09d/attachment.html 


More information about the jboss-user mailing list