Problem with Generate XML
843834Jul 22 2003 — edited Nov 4 2009Currently 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.