git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

got content is not allowed when unmarshal with BindyFixedLengthDataFormat


My Pojo is complex, consisting of other Pojos

i create BindyFixedLengthDataFormat  instance like below

when i unmarshal with BindyFixedLengthDataFormat for
fix length file i got error --- content is not allowed in prolog.
Any hints are more than welcome!

BindyFixedLengthDataFormat bindy = new
BindyFixedLengthDataFormat(com.mypackage.Order.class);

@FixedLengthRecord

public class Order {

    @Link Header header;

    @Link Trailer trailer;

......

}