3
내 스프링 MVC 3 응용 프로그램에서 JSON을 반환하려고하지만,하고 그잭슨
com.fasterxml.jackson.databind.JsonMappingException: No serializer found for class org.joda.time.format.DateTimeFormat$StyleFormatter and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS)) (through reference chain: java.util.HashMap["personDay"]->mypackage.PersonDay["dateTimeFormatter"]->org.joda.time.format.DateTimeFormatter["parser"])
내가 이것에 대한 사용자 지정 serializer를해야 할 것 같습니다
Joda DateTimeFormatter
에 대한 실패 Joda DateTimeFormatter를 직렬화하는 데 실패,하지만 난 어디서부터 시작해야할지 모르겠다.
당신은 [이것 좀 봐 찍은 적이 ] (http://stackoverflow.com/a/3272244/3594214) 게시물 – chrisfahlin