Wang Yan
2018-09-27 18:35:23 UTC
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;
......
}
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;
......
}