Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Binding error when implementing rest ws on netbeans but uses jboss  RSS feed

John Nicer
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guru,
I created a very simple rest ws to return a string of hello world on netbean but use jboss as application server as required by the client. I kept running the error message:

java.lang.ClassException: com.sun.xml.bind.v2.runtime.JAXBContextIpml cannot be cast to javax.xml.bind.JAXBContext

I edited the jersey library and removed the jaxb-api.jar and added on the top of the list with jboss jaxb-api.jar but the problerm still persists. Any thought or hint are greatly appreciated.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!