[jboss-user] [JBossWS] - wsprovide : NoClassDefFoundError: com/sun/codemodel/JExpress

PatrickMadden do-not-reply at jboss.com
Wed May 2 15:34:19 EDT 2007


Hi I'm running wsprovide.bat provided in the JBoss4.2.0.CR2 buid.

I'm getting the following error trying to generate client side artifacts:

anonymous wrote : 
  | wsprovide:
  |      [echo] /c C:/apps/jboss/jboss-4.2.0.CR2/bin/wsprovide.bat --show-traces -c ../CloosterRichWeb/classes/model -w -k -o ./bin -s ./src com.clooster.web.services.db.EJB3RemoteDBServiceBean
  |      [exec] Error: Could not generate. (use --show-traces to see full traces)
  |      [exec] java.lang.NoClassDefFoundError: com/sun/codemodel/JExpression
  |      [exec] at org.jboss.ws.tools.jaxws.impl.WSContractProviderImpl.provide(WSContractProviderImpl.java:104)
  |      [exec] at org.jboss.ws.tools.jaxws.impl.WSContractProviderImpl.provide(WSContractProviderImpl.java:134)
  |      [exec] at org.jboss.ws.tools.jaxws.command.wsprovide.generate(wsprovide.java:167)
  |      [exec] at org.jboss.ws.tools.jaxws.command.wsprovide.main(wsprovide.java:76)
  |      [exec] Result: 1
  | 

It works when I run wsconsume.bat when the web service is already deployed. Any help is greatly appreciated.

Thanks,

PVM

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042582#4042582

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042582



More information about the jboss-user mailing list