V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
rapperx2
V2EX  ›  问与答

谁遇见过 SpringCloud 的这样的坑

  •  
  •   rapperx2 · Jul 17, 2019 · 1675 views
    This topic created in 2478 days ago, the information mentioned may be changed or developed.

    '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 replies    2019-07-17 17:00:52 +08:00
    AlkTTT
        1
    AlkTTT  
       Jul 17, 2019
    老铁,你对象序列化了吗
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1448 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 16:55 · PVG 00:55 · LAX 09:55 · JFK 12:55
    ♥ Do have faith in what you're doing.