I am new to OSGi development, and have been trying to figure out how to make
this work:

I have JAXB classes generated from an XSD using Eclipse XJC.  I verified
that everything (class usage, marchalling and un-marshalling) works in a
non-OSGi scenario.  They do.

When deployed within Apache Felix (Communique' 5.3) - when I marshal the
class, I get the Exception:

Caused by: com.sun.istack.internal.SAXException2: unable to marshal type
"com.nielsen.rankings.bind.RankingData" as an element because it is missing
an @XmlRootElement annotation

Class "com.nielsen.rankings.bind.RankingData" DOES in fact have that
annotation, and like I said, it functions OK within a non-OSGi scenario.

Can anyone help me out?  I am at my wits end, and this is completely
blocking any further progress on a high visibility project.

Thanks.

Reply via email to