勇心在馨
2016-05-28 19:55
HTTP Status 500 - Could not write content: No serializer found for class org.seckill.dto.Exposer and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) ) (through reference chain: org.seckill.dto.SeckillResult["data"]); nested exception is com.fasterxml.jackson.databind.JsonMappingException: No serializer found for class org.seckill.dto.Exposer and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) ) (through reference chain: org.seckill.dto.SeckillResult["data"])
你的DTO对象里面 没有设置get/set方法
Java高并发秒杀API之高并发优化
78601 学习 · 170 问题
相似问题
回答 3
回答 2