shanxixixixixi 2017-02-09 03:17 采纳率: 0%
浏览 10139
已结题

no suitable HttpMessageConverter 错误

OAuth2RestTemplate oauth2RestTemplate;
List m = oauth2RestTemplate.getForObject(httpUrl, List.class);
调用之后报如下错误:
org.springframework.web.client.RestClientException: Could not extract response: no suitable HttpMessageConverter found for response type [interface java.util.List] and content type [text/html;charset=UTF-8]

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 CreateBitmapFromWicBitmap内存释放问题。
    • ¥30 win c++ socket
    • ¥15 CanMv K210开发板实现功能
    • ¥15 C# datagridview 栏位进度
    • ¥15 vue3页面el-table页面数据过多
    • ¥100 vue3中融入gRPC-web
    • ¥15 kali环境运行volatility分析android内存文件,缺profile
    • ¥15 写uniapp时遇到的问题
    • ¥15 vs 2008 安装遇到问题
    • ¥15 matlab有限元法求解梁带有若干弹簧质量系统的固有频率