• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Binding error when implementing rest ws on netbeans but uses jboss

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
reply
    Bookmark Topic Watch Topic
  • New Topic