04 2020 档案
SpringCloud:feign默认jackson解析'yyyy-MM-ddTHH:mm:ssZ'时间格式报错
摘要:Feign默认的使用jackson解析,所以时间传值时会报错,时间格式错误 解决办法: 修改feign解析方式为fastjson方式: @Configuration public class CxfConfig{ @Bean public Encoder feignEncoder(){ return
SpringCloud:feign对象传参和普通传参及遇到的坑
摘要:对象传参: #使用@RequestBody来指定传参对象 @RequestMapping(value = "/v2/matterCode/genCode", method = RequestMethod.POST) ResultResponse<String> getCode(@RequestBod
SpringCloud:Feign调用接口不稳定问题以及如何设置超时
摘要:1. Feign调用接口不稳定报错 Caused by: java.net.SocketException: Software caused connection abort: recv failed at java.net.SocketInputStream.socketRead0(Native
SpringBoot:springboot整合eureka报错 Unable to start embedded Tomcat
摘要:报错信息: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.Web
SpringCloud:eureka的'eurekaAutoServiceRegistration'报错解决方法
摘要:报错信息如下: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'eurekaAutoServiceRegistration': Singleton be
Linux:VMware15配置CentOS7与本机IP同网段
摘要:确认本机IP ctrl+R:输入cmd 回车 输入命令:ipconfig 可以看出一下信息:本机ip: 192.168.1.162网关:192.168.1.1DNS服务器:192.168.1.1 设置虚拟机 在目标虚拟机下右键, 选择“设置”, 打开“虚拟机设置”对话框, 再选择“网络适配器”我的电