Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Java Architecture for XML Binding (JAXB) - Class not found
Java Architecture for XML Binding (JAXB) - Class not found [message #551105] Thu, 05 August 2010 05:16 Go to previous message
MoJo is currently offline MoJo
Messages: 7
Registered: July 2010
Junior Member
Hi,

I am looking for some JAXB experts help!

To save some formatted data, I want to use Java Architecture for XML Binding (JAXB). It is my first time and immediately I got some problems.

It doesn't matter, which version of JAXB I use. Everytime, with

JAXBContext.newInstance(Data.class)

I get the following ClassNotFoundException:

javax.xml.bind.JAXBException
- with linked exception:
[java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory]
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java: 186)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:375)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:618)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:565)


Did somebody got the same problem and fixed it?

Would be glad for answers.

Thx
 
Read Message
Read Message
Read Message
Previous Topic:foreign key constraint problem
Next Topic:Difficulties Unmarshalling Timestamp
Goto Forum:
  


Current Time: Sun May 19 02:04:13 EDT 2013

Powered by FUDForum. Page generated in 0.02380 seconds