felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Moloney <t.molo...@verizon.net>
Subject Re: Has anyone used JAXB within Felix?
Date Mon, 19 Mar 2007 00:40:21 GMT
Tim Moloney wrote:
> I'm trying to use JAXB within a bundle that I'm writing but I'm not 
> having much luck.
> I can compile and start my bundle (after I load the jaxb-libs, 
> jax-impl, relaxngDatatype, and xsdlib bundles I wrapped).  However, I 
> get a runtime error ("my.domain.package" doesnt contain 
> ObjectFactory.class or jaxb.index) when I try to get a JAXB context.
> ObjectFactory is in my.domain.package (it's actually generated by 
> hyperjaxb2) and I've exported my.domain.package.* from my bundle, but 
> com.sun.xml.internal.bind.v2.ContextFactory.createContext() can't seem 
> to find it.
> Any thoughts on what else I may need to do?
> Thanks,
>  Tim

I forgot to mention that JAXB works outside Felix as expected.


View raw message