You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2022/07/20 03:57:35 UTC

[GitHub] [servicecomb-java-chassis] RayTigerZ opened a new issue, #3204: [simple type, class java.time.chrono.Chronology] is interface. Must be a concrete type.

RayTigerZ opened a new issue, #3204:
URL: https://github.com/apache/servicecomb-java-chassis/issues/3204

   in springmvc, controller method uses LocalDateTime as parameter
   but throw exception:
   org.apache.servicecomb.foundation.common.exceptions.ServiceCombException: [simple type, class java.time.chrono.Chronology] is interface. Must be a concrete type.


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

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #3204: [simple type, class java.time.chrono.Chronology] is interface. Must be a concrete type.

Posted by GitBox <gi...@apache.org>.
liubao68 commented on issue #3204:
URL: https://github.com/apache/servicecomb-java-chassis/issues/3204#issuecomment-1190935671

   If you are using springmvc, `@RequestParam`, `@PathParam` or `@RequestBody` should be there. And `LocalDateTime` can not set format in java chassis. It's follows Open API specification, it's not recommented to specify the serialization pattern. 


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

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #3204: [simple type, class java.time.chrono.Chronology] is interface. Must be a concrete type.

Posted by GitBox <gi...@apache.org>.
liubao68 commented on issue #3204:
URL: https://github.com/apache/servicecomb-java-chassis/issues/3204#issuecomment-1189939011

   see https://servicecomb.apache.org/references/java-chassis/zh_CN/featured-topics/features/date-time.html  , what's your version?


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

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [servicecomb-java-chassis] RayTigerZ commented on issue #3204: [simple type, class java.time.chrono.Chronology] is interface. Must be a concrete type.

Posted by GitBox <gi...@apache.org>.
RayTigerZ commented on issue #3204:
URL: https://github.com/apache/servicecomb-java-chassis/issues/3204#issuecomment-1189949964

   I see the content of link,but can not understand
   the version is 
   
   the code of controller method is 2.1.5
   
    public XXXX<?> xxxxxxxxx(
               @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") LocalDateTime startTime,
               @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") LocalDateTime endTime) 


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

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [servicecomb-java-chassis] RayTigerZ closed issue #3204: [simple type, class java.time.chrono.Chronology] is interface. Must be a concrete type.

Posted by GitBox <gi...@apache.org>.
RayTigerZ closed issue #3204:  [simple type, class java.time.chrono.Chronology] is interface. Must be a concrete type.
URL: https://github.com/apache/servicecomb-java-chassis/issues/3204


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

To unsubscribe, e-mail: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org