Why does JAXB put @XmlRootElement sometimes but not always? Posted by kohsuke on March 03, 2006 at 04:21 PM | Comments (15) isusanin asked in the JAXB forum: When trying to marshall an object I get this error message: unable to marshal type "org.blah.MessageType" as an element because it is missing an @XmlRootElement annotation If I add the @XmlRootElement annotation to the MessageType, it works,
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}