Stuck with Moxy getting started example [message #693246] |
Wed, 06 July 2011 02:13  |
Eclipse User |
|
|
|
Hi,
I try to setup the wiki.eclipse.org/EclipseLink/Examples/MOXy/GettingStarted as an OSGI bundle.
MANIFEST.MF:
Require-Bundle: javax.xml.bind;bundle-version="2.2.0",
org.eclipse.persistence.moxy;bundle-version="2.1.3"
Launch configuration:
org.eclipse.persistence.core startlevel 2 auto-start true
my bundle startlevel 3 auto-start true
When running equinox I get the exception:
javax.xml.bind.JAXBException
- with linked exception:
[java.lang.ClassNotFoundException: org.eclipse.persistence.jaxb.JAXBContextFactory]
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:186)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:330)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:618)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:565)
What do I miss here? How do I have to setup my bundle project when using MOXy in an OSGI bundle?
Regards,
Michael
|
|
|
|
Powered by
FUDForum. Page generated in 0.56122 seconds