[jboss-user] [JBossWS] - Jboww WS problem - plz help

jboss2007 do-not-reply at jboss.com
Tue Aug 21 11:13:29 EDT 2007


I have the following configuration:
-  JDK 1.5.0_12
- jboss-4.2.1.GA
- jbossws-native-2.0.1.GA

I followed the user guide: http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide#Tools

I've successfully deployed the Echo web service. Howserver, when I run the ws client (consumer) I got this exception:

Exception in thread "main" javax.xml.ws.WebServiceException: Unable to load Prov
  | ider: Failed to load javax.xml.ws.spi.Provider: org.jboss.ws.core.jaxws.spi.Prov
  | iderImpl
  |         at javax.xml.ws.spi.Provider.provider(Provider.java:98)
  |         at javax.xml.ws.Service.<init>(Service.java:83)
  |         at com.company.package.EchoService.<init>(EchoService.java:40)
  |         at EchoClient.main(EchoClient.java:10)
  | Caused by: java.lang.IllegalStateException: Failed to load javax.xml.ws.spi.Prov
  | ider: org.jboss.ws.core.jaxws.spi.ProviderImpl
  |         at javax.xml.ws.spi.ProviderLoader.loadProvider(ProviderLoader.java:96)
  |         at javax.xml.ws.spi.Provider.provider(Provider.java:90)
  |         ... 3 more
  | Caused by: java.lang.NoClassDefFoundError: org/jboss/util/NotImplementedExceptio
  | n
  |         at java.lang.Class.getDeclaredConstructors0(Native Method)
  |         at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
  |         at java.lang.Class.getConstructor0(Class.java:2671)
  |         at java.lang.Class.newInstance0(Class.java:321)
  |         at java.lang.Class.newInstance(Class.java:303)
  |         at javax.xml.ws.spi.ProviderLoader.loadProvider(ProviderLoader.java:91)
  |         ... 4 more

Any idea about this problem?
any help will be much appreciated

thanks in advance,

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

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



More information about the jboss-user mailing list