摘要:
Feign默认的使用jackson解析,所以时间传值时会报错,时间格式错误 解决办法: 修改feign解析方式为fastjson方式: @Configuration public class CxfConfig{ @Bean public Encoder feignEncoder(){ return 阅读全文
摘要:
对象传参: #使用@RequestBody来指定传参对象 @RequestMapping(value = "/v2/matterCode/genCode", method = RequestMethod.POST) ResultResponse<String> getCode(@RequestBod 阅读全文
摘要:
1. Feign调用接口不稳定报错 Caused by: java.net.SocketException: Software caused connection abort: recv failed at java.net.SocketInputStream.socketRead0(Native 阅读全文
摘要:
报错信息: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.Web 阅读全文
摘要:
报错信息如下: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'eurekaAutoServiceRegistration': Singleton be 阅读全文