karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abhilashb <abhilash.basavara...@in.bosch.com>
Subject Re: unable to marshal type because it is missing @xmlrootelement annotation
Date Wed, 09 Sep 2015 13:50:58 GMT
Hi,

Yes I have used JAXB annotations for MSRSW class, Infact for all classes.

@XmlRootElement(name = "MSRSW")
public class MSRSW {
----
}

But even then it throws this error.

My Manifest file - 

Import-Package: javax.xml.bind,com.sun.xml.bind

Am i missing anything?

Regards,
Abhilash



--
View this message in context: http://karaf.922171.n3.nabble.com/unable-to-marshal-type-because-it-is-missing-xmlrootelement-annotation-tp4042428p4042434.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.

Mime
View raw message