spring - 使用spring cloud gateway HOXTON.SR5停止和启动服务后看不到服务
问题描述
我使用的是spring cloud gateway Hoxton.SR5 版本。问题是当我停止服务并再次刷新它并发布执行器/网关/刷新时,我无法再次找到该服务。如果我从正在使用的 2.2.3(Hoxton.SR5)降级 spring-cloud-gateway-core 2.2.0,它可以正常工作。
您知道发生了什么变化或对该问题产生了什么影响吗?
顺便说一句,它适用于名为 Hoxton.RELEASE 的旧版本。它不适用于 Hoxton.SR5 版本。
谢谢
Pom.xml
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Hoxton.SR5</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-gateway</artifactId>
<version>2.2.0.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-gateway-core</artifactId>
<version>2.2.0.RELEASE</version>
</dependency>
解决方案
推荐阅读
- c++ - 从 .txt 文件中删除特定行 (C++)
- xamarin - Editor 控件是否有任何 ReturnType 功能,如 Entry 控件包含?
- javascript - 删除部分字符串到遇到javascript的字符
- javascript - Babylon.js 的示例
- r - 带有成对列的 pivot_longer 中缺少前缀
- java - Android Retrofit - 无法将响应添加到 List / recyclerview
- node.js - 嵌套函数的打字稿定义
- javascript - Paypal 更改地址字段样式
- html - 盒子没有在底部排列
- c++ - C++:不同类型的容器