[ https://issues.apache.org/jira/browse/JOHNZON-196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Romain Manni-Bucau resolved JOHNZON-196. ---------------------------------------- Resolution: Fixed Assignee: Romain Manni-Bucau Fix Version/s: 1.1.11 > Not able to Convert a Java LocalTime > ------------------------------------ > > Key: JOHNZON-196 > URL: https://issues.apache.org/jira/browse/JOHNZON-196 > Project: Johnzon > Issue Type: Bug > Reporter: Felipe Alves de Moraes > Assignee: Romain Manni-Bucau > Priority: Major > Fix For: 1.1.11 > > > Hi, I was doing some tests using Apache Tomee 8, and I create an endpoint > that one of the fields expects a LocalTime. When I call this endpoint sending > my Json data, I'm getting the following exceptions: > {code:java} > 01-Dec-2018 16:36:53.753 SEVERE [http-nio-8080-exec-3] > org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage An > unexpected error occurred during error handling. No further error processing > will occur. > org.apache.cxf.interceptor.Fault: Missing a Converter for type class > java.time.LocalTime to convert the JSON String '20:52:00' . Please register a > custom converter for it. > {code} > {code:java} > Caused by: org.apache.johnzon.mapper.MapperException: Missing a Converter for > type class java.time.LocalTime to convert the JSON String '20:52:00' . Please > register a custom converter for it. > {code} > I believe that Johnzon was supposed to be compatible with the Date and Time > API out of the box, right? -- This message was sent by Atlassian JIRA (v7.6.3#76005)