Hello,
I try to use Restlet wtith Jaxb extension in Felix environment, it seems
there is an issue with the classpath because the folowing error occured :
[FelixStartLevel] WARN org.restlet - Problem creating Unmarshaller
javax.xml.bind.JAXBException:
"com.francetelecom.openappliance.thirdp.sampan.sam
panConnector.bean" doesnt contain ObjectFactory.class or jaxb.index
at
com.sun.xml.internal.bind.v2.ContextFactory.createContext(ContextFact
ory.java:147)
When the application is launched in a classical environment (instead of
OSGi), there is no error.
I tried something like that without success :
JAXBContext.newInstance("mypackage.beans",
mypackage.beans.ObjectFactory.class.getClassLoader());
Any idea ?
Thanks,
Stéphane
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2655195