• Post Reply Bookmark Topic Watch Topic
  • New Topic

NoSuchMethodError  RSS feed

 
Shanmu Arumugam
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm getting the below exception in my client code when I try to invoke webservice using JAX-WS. Appreciate your help to get a cause of this exception.

java.lang.NoSuchMethodError: com/sun/xml/bind/api/JAXBRIContext.newInstance([Ljava/lang/Class;Ljava/util/Collection;Ljava/util/Map;Ljava/lang/String;ZLcom/sun/xml/bind/v2/model/annotation/RuntimeAnnotationReader;)Lcom/sun/xml/bind/api/JAXBRIContext;

Thanks
Shanmu
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe a version mismatch where you're using jar files from different JAX-WS versions?
 
Shanmu Arumugam
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ulf Dittmer. I resolved it. Thanks for your reply.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!