今天前端接受到后台代码报错Could not extract response: no suitable HttpMessageConverter found for response type […<java.lang.String>] and content type [text/html],我们一直都是用的json数据来传输,所以不存在content type传错了。
原因其实是因为使用feign调的后台服务,但是后台服务未启,返回的是一段html格式的错误信息。
Could not extract response: no suitable HttpMessageConverter found for response type...and content
最新推荐文章于 2024-02-27 20:57:18 发布