V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
rapperx2
V2EX  ›  问与答

谁遇见过 SpringCloud 的这样的坑

  •  
  •   rapperx2 · 2019 年 7 月 17 日 · 1633 次点击
    这是一个创建于 2458 天前的主题,其中的信息可能已经有所发展或是发生改变。

    'org.springframework.web.client.RestClientException: Could not extract response: no suitable HttpMessageConverter found for response type [com.hmc.utils.RestResp<com.hmc.vo.driver.IndexDataVo>] and content type [application/json;charset=UTF-8] at org.springframework.web.client.HttpMessageConverterExtractor.extractData(HttpMessageConverterExtractor.java:119) ~[spring-web-5.0.7.RELEASE.jar:5.0.7.RELEASE] at org.springframework.cloud.openfeign.support.SpringDecoder.decode(SpringDecoder.java:60) ~'

    fegin 调用提供者 返回一个对象没问题,多个对象就报错,求大佬帮忙,解决下问题,谢谢

    1 条回复    2019-07-17 17:00:52 +08:00
    AlkTTT
        1
    AlkTTT  
       2019 年 7 月 17 日
    老铁,你对象序列化了吗
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   900 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 20:22 · PVG 04:22 · LAX 13:22 · JFK 16:22
    ♥ Do have faith in what you're doing.