原文链接: https://www.cnblogs.com/jkyxs/p/9140611.html 已使用其中方法一解决,记录一下
解决 在mybatis中返回类型是map,map中有时间类型时,返回前台spring mvc 自动转json失败
解决 com.fasterxml.jackson.databind.JsonMappingException: No serializer found for class java.io.ByteArrayInputStream and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) ) (through reference chain: com.xinping.crm.platform.mybatis.DatatablesPage["data"]->java.util.ArrayList[0]->java.util.HashMap["closeTime"]->oracle.sql.TIMESTAMP["stream"])
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationF