java.lang.ClassCastException: com.xxxx.xxxPojo:cannot be cast to org.springframework.core.io.support.ResourceRegion
at org.springframework.http.converter.ResourceRegionHttpMessageConverter.writeResourceRegionCollection(ResourceRegionHttpMessageConverter.java:182)
我更改了springboot版本和mybaits版本就行了
org.springframework.boot
spring-boot-starter-parent
2.0.4.RELEASE
和
org.mybatis.spring.boot
mybatis-spring-boot-starter
1.2.0
太难了~~