异常处理 feign.codec.DecodeException: Type definition error 深藏阁楼爱情的钟 2022-10-02 06:00 169阅读 0赞 [2019独角兽企业重金招聘Python工程师标准>>> ][2019_Python_] ![hot3.png][] 在我们使用springboot时,用restTemplate或者Feign时可能会出现这样的错误; 因为feign是通过http请求访问服务的所以可以不实现serializable接口; 出现错误的原因是没有空的构造器,加上空的构造器就KO了。 转载于:https://my.oschina.net/edisonOnCall/blog/3040400 [2019_Python_]: https://my.oschina.net/u/2663968/blog/3061697 [hot3.png]: /images/20220113/2d2ca905ec76476faa59dd6016c23f59.png
还没有评论,来说两句吧...