You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/12/13 02:08:48 UTC
[GitHub] [rocketmq-spring] ljy-super opened a new issue #203: use
rocketMQTemplate send payload have attribute LocalDateTime error
ljy-super opened a new issue #203: use rocketMQTemplate send payload have attribute LocalDateTime error
URL: https://github.com/apache/rocketmq-spring/issues/203
Caused by: org.springframework.messaging.converter.MessageConversionException: Could not read JSON: Cannot construct instance of `java.time.LocalDateTime` (no Creators, like default construct, exist): cannot deserialize from Object value (no delegate- or property-based Creator)
at [Source: (String)"{"id":1205099909871702016,"couponId":1204317114652037135,"userId":1133667465583267846,"status":0,"receiveTime":null,"useTime":null,"startTime":{"year":2019,"monthValue":12,"month":"DECEMBER","dayOfMonth":4,"dayOfYear":338,"dayOfWeek":"WEDNESDAY","hour":0,"minute":0,"second":0,"nano":0,"chronology":{"calendarType":"iso8601","id":"ISO"}},"endTime":{"year":2019,"monthValue":12,"month":"DECEMBER","dayOfMonth":17,"dayOfYear":351,"dayOfWeek":"TUESDAY","hour":23,"minute":59,"second":59,"nano":0,"chrono"[truncated 123 chars]; line: 1, column: 145] (through reference chain: com.chuxingyouhui.pdsc.coupon.domain.model.CouponUserReceive["startTime"]); nested exception is com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `java.time.LocalDateTime` (no Creators, like default construct, exist): cannot deserialize from Object value (no delegate- or property-based Creator)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services