让我屁眼炸裂的Sping Boot版本差异

Spring Boot的版本差异有这么大么?

最近试着玩了一下, 2.0.5.RELEASE下,  Entity类(或者说Model)可以通过Controller直接输出成Json, 在所有代码, 一个字不改的情况下, 仅仅在pom里面把spring-boot-starter-parent换成2.0.6.RELEASE就报

Resolved [org.springframework.http.converter.HttpMessageNotWritableException: No converter found for return value of type: class com.wulala.totalconfused.model.Something]

错误, 告诉你没法把实体类转成json, 我滴天呐....

 

我又浪费几个小时折腾这种没鸡儿用的知识点......

 

接下来怎么办? google一下版本差异?

 

posted @ 2018-10-27 22:08  Montauk  阅读(217)  评论(0编辑  收藏  举报