Discussion:
got content is not allowed when unmarshal with BindyFixedLengthDataFormat
Wang Yan
2018-09-27 18:35:23 UTC
Permalink
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;

......

}

Loading...