@Query(value = "select id from video", nativeQuery = true)
List<Map<String, Object>> list();
错误信息
Could not write content: Invalid property 'empty' of bean class [java.lang.Integer]: Could not find field for property during fallback access! (through reference chain: com.yuncommunity.child_star.base.JR[\"data\"]->java.util.ArrayList[0]); nested exception is com.fasterxml.jackson.databind.JsonMappingException: Invalid property 'empty' of bean class [java.lang.Integer]: Could not find field for property during fallback access! (through reference chain: com.yuncommunity.child_star.base.JR[\"data\"]->java.util.ArrayList[0])","timeStamp": "Sat Dec 10 17:44:07 CST 2016
代码
错误信息
Could not write content: Invalid property 'empty' of bean class [java.lang.Integer]: Could not find field for property during fallback access! (through reference chain: com.yuncommunity.child_star.base.JR[\"data\"]->java.util.ArrayList[0]); nested exception is com.fasterxml.jackson.databind.JsonMappingException: Invalid property 'empty' of bean class [java.lang.Integer]: Could not find field for property during fallback access! (through reference chain: com.yuncommunity.child_star.base.JR[\"data\"]->java.util.ArrayList[0])","timeStamp": "Sat Dec 10 17:44:07 CST 2016