[jboss-dev-forums] [JBoss Web Services Development] - Re: Exception in thread "main" java.lang.NoSuchMethodError: com.sun.xml.bind.api.JAXBRIContext.newInstance([Ljava/lang/Class; )Ljavax/xml/bind/JAXBContext;

Sreejith K T do-not-reply at jboss.com
Mon Nov 21 14:12:36 EST 2011


Sreejith K T [http://community.jboss.org/people/srekt] created the discussion

"Re: Exception in thread "main" java.lang.NoSuchMethodError: com.sun.xml.bind.api.JAXBRIContext.newInstance([Ljava/lang/Class;)Ljavax/xml/bind/JAXBContext;"

To view the discussion, visit: http://community.jboss.org/message/637589#637589

--------------------------------------------------------------
This was due to the class loading issue. My application was loading two differnt versions of same class.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/637589#637589]

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111121/367cf843/attachment.html 


More information about the jboss-dev-forums mailing list