`

Feign踩坑记录:JSON parse error - 简书-feign报文过大异常解决

    博客分类:
  • java
阅读更多
Feign踩坑记录:JSON parse error - 简书-feign报文过大异常解决

Caused by: com.fasterxml.jackson.core.JsonParseException: Illegal character ((CTRL-CHAR, code 31)): only regular white space (\r, \n, \t) is allowed between tokens


   <!--pom文件引入包-->
   <!--feign报文压缩-->
        <dependency>
            <groupId>io.github.openfeign</groupId>
            <artifactId>feign-httpclient</artifactId>
        </dependency>




<!--yml配置文件增加-->
feign:
  compression:
    request:
    # 不能改成true,会报错
      enabled: false
    response:
      enabled: false
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics