新版SpringBoot已不再需要@EnableDiscoveryClient,只需要在pom文件中加入服务发现实现类的maven坐标即可。
可通过配置spring.cloud.discovery.enabled=false 来禁用服务自动发现
wx62e0d796b5814 博主文章分类:SpringBoot ©著作权
新版SpringBoot已不再需要@EnableDiscoveryClient,只需要在pom文件中加入服务发现实现类的maven坐标即可。
可通过配置spring.cloud.discovery.enabled=false 来禁用服务自动发现
。这种深植人心的刻板印象不
工作不能一味的忍受,工作本来应该快乐的。
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M