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 2020/03/17 09:11:50 UTC

[GitHub] [rocketmq-spring] ghjhf opened a new issue #239: 消费的时候不支持java 8对象 localdatetime

ghjhf opened a new issue #239: 消费的时候不支持java 8对象 localdatetime
URL: https://github.com/apache/rocketmq-spring/issues/239
 
 
   ![image](https://user-images.githubusercontent.com/17490562/76840540-5a5fa700-6872-11ea-96ea-ebfe7ddf4cf0.png)
   ![image](https://user-images.githubusercontent.com/17490562/76840545-5c296a80-6872-11ea-9e09-b1ebc738a153.png)
   

----------------------------------------------------------------
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

[GitHub] [rocketmq-spring] ghjhf commented on issue #239: Could not deserialize localdatetime when using jdk8

Posted by GitBox <gi...@apache.org>.
ghjhf commented on issue #239: Could not deserialize localdatetime when using jdk8
URL: https://github.com/apache/rocketmq-spring/issues/239#issuecomment-600107687
 
 
   > Could you add the dependency jackson-datatype-jsr310 in your spring projects?
   
   i create a class extends RocketMQMessageConverter named MQMessageConverter,and injecte it to the spring bean like this 。
   ![image](https://user-images.githubusercontent.com/17490562/76867190-2602df80-68a0-11ea-825c-1b59bed0c9cf.png)
   ![image](https://user-images.githubusercontent.com/17490562/76867233-36b35580-68a0-11ea-80ea-b3288be05688.png) 
   
   

----------------------------------------------------------------
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

[GitHub] [rocketmq-spring] ghjhf commented on issue #239: Could not deserialize localdatetime when using jdk8

Posted by GitBox <gi...@apache.org>.
ghjhf commented on issue #239: Could not deserialize localdatetime when using jdk8
URL: https://github.com/apache/rocketmq-spring/issues/239#issuecomment-600105024
 
 
   > Could you add the dependency jackson-datatype-jsr310 in your spring projects?
   
   ![image](https://user-images.githubusercontent.com/17490562/76866595-5138ff00-689f-11ea-95b9-81a70f2cc537.png)
   yes,i find this ObjectMapper dose not contain the JavaTimeModule.

----------------------------------------------------------------
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

[GitHub] [rocketmq-spring] RongtongJin commented on issue #239: Could not deserialize localdatetime when using jdk8

Posted by GitBox <gi...@apache.org>.
RongtongJin commented on issue #239: Could not deserialize localdatetime when using jdk8
URL: https://github.com/apache/rocketmq-spring/issues/239#issuecomment-600383886
 
 
   > > Could you add the dependency jackson-datatype-jsr310 in your spring projects?
   > 
   > i create a class extends RocketMQMessageConverter named MQMessageConverter,and injecte it to the spring bean like this 。
   > ![image](https://user-images.githubusercontent.com/17490562/76867190-2602df80-68a0-11ea-825c-1b59bed0c9cf.png)
   > ![image](https://user-images.githubusercontent.com/17490562/76867348-5ea2b900-68a0-11ea-8aad-e566de27c241.png)
   > finally,the problem solved。
   
   Could you submit a PR to slove this issue?

----------------------------------------------------------------
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

[GitHub] [rocketmq-spring] ghjhf edited a comment on issue #239: Could not deserialize localdatetime when using jdk8

Posted by GitBox <gi...@apache.org>.
ghjhf edited a comment on issue #239: Could not deserialize localdatetime when using jdk8
URL: https://github.com/apache/rocketmq-spring/issues/239#issuecomment-600107687
 
 
   > Could you add the dependency jackson-datatype-jsr310 in your spring projects?
   
   i create a class extends RocketMQMessageConverter named MQMessageConverter,and injecte it to the spring bean like this 。
   ![image](https://user-images.githubusercontent.com/17490562/76867190-2602df80-68a0-11ea-825c-1b59bed0c9cf.png)
   ![image](https://user-images.githubusercontent.com/17490562/76867348-5ea2b900-68a0-11ea-8aad-e566de27c241.png)
   finally,the problem solved。
   

----------------------------------------------------------------
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

[GitHub] [rocketmq-spring] ghjhf commented on issue #239: Could not deserialize localdatetime when using jdk8

Posted by GitBox <gi...@apache.org>.
ghjhf commented on issue #239: Could not deserialize localdatetime when using jdk8
URL: https://github.com/apache/rocketmq-spring/issues/239#issuecomment-600105889
 
 
   > Could you add the dependency jackson-datatype-jsr310 in your spring projects?
   
   i find it contains JavaTimeModule when 
   ![image](https://user-images.githubusercontent.com/17490562/76866893-bb51a400-689f-11ea-9600-06ae5854db22.png)
   
   

----------------------------------------------------------------
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

[GitHub] [rocketmq-spring] vongosling commented on issue #239: 消费的时候不支持java 8对象 localdatetime

Posted by GitBox <gi...@apache.org>.
vongosling commented on issue #239: 消费的时候不支持java 8对象 localdatetime
URL: https://github.com/apache/rocketmq-spring/issues/239#issuecomment-599976595
 
 
   Could you add the dependency jackson-datatype-jsr310 in your spring projects? 

----------------------------------------------------------------
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