内容
一、异常信息
HTTP Status 400 - type Status reportmessage
org.springframework.http.converter.HttpMessageNotWritableException: No converter found for return value of type二、解决办法
1、异常
-
异常截图

-
详细信息
exception
org.springframework.http.converter.HttpMessageNotWritableException: No converter found for return value of type: class com.yy.homework.qo.JsonResult
org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:226)
org.springframework.web.servlet.mvc.method.annotation

博客讲述了在遇到Jackson和fastJSON导入异常时的问题,详细描述了异常信息,包括错误消息和异常截图。解决问题的方法是明确指出应该导入Jackson包而不是fastJSON,因为fastJSON可能存在问题。
600

被折叠的 条评论
为什么被折叠?



