【JavaDebug(八)】之SpringBoot: No converter found for return value of type: class User。
一. BUG出现环境 使用SpringBoot搭建简单的Web项目时,定义了一个User类,在Controller中返回一个User对象,出现以下BUG:No converter found for return value of type: class User。二.Bug解决 根据英文,意思是没有返回User对象的转换器,感觉跟User类内部的定义有关,一般这种情况都可能是User