摘要: 环境 maven 版本为3.6.3 idea 版本为2019 解决 将maven降为3.5.0版本就可以了 感谢 https://blog.csdn.net/Certain_/article/details/90745360 阅读全文
posted @ 2020-09-27 09:38 习惯沉淀 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 前言 #开启自我保护模式 防止健康的实例因网络延迟等故障被移除 eureka.server.enable-self-preservation=true 配置说明 保护模式主要用于client端和server端存在网络分区场景时, 开启自我保护, 可以防止因网络延迟等故障 机制 心跳 好文https: 阅读全文
posted @ 2020-09-27 08:26 习惯沉淀 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 前言 eureka服务开启security认证后, 微服务客户端启动报如题错误, 新版(Spring Cloud 2.0 以上)的security默认启用了csrf检验,要在eurekaServer端配置security的csrf检验为false 解决方法 添加一个继承 WebSecurityCon 阅读全文
posted @ 2020-09-27 00:54 习惯沉淀 阅读(663) 评论(0) 推荐(0) 编辑