这里说无法将 对应对象转换, 原因在于没有导入json 依赖
所以无法转换
org.springframework.http.converter.HttpMessageNotWritableException: No converter found for return value of type: class java.util.ArrayList
导个包就行, json, 或者 下面的databind
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>