Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem with Generate XML

843834Jul 22 2003 — edited Nov 4 2009
Currently I m using JAXB to validate and marshal, but when validate it return an error say :

[java] javax.xml.bind.MarshalException: the object parameter to marshal() is not marshallable
[java] at com.sun.xml.bind.marshaller.MarshallerImpl.marshal(MarshallerImpl.java:59)
[java] at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:66)
[java] at com.ekt701.erp.ui.mobile.UsingJAXBTest2.main(UsingJAXBTest2.java:107)

But before I move it into my project package, it works fine with no error, once I move into my project, then it return this error, any pls help me.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 2 2009
Added on Jul 22 2003
3 comments
386 views