我收到这个错误- "com.netflix.discovery.shared.transport.TransportException:无法在任何已知的服务器上执行请求“,同时在spring-boot中运行客户端应用程序,同时尝试在Microservice中使用Spring Boot进行身份验证模块。
下面是我的服务器和客户端application.properties文件:
服务器- application.properties
spring.application.name=demoEureka
#This is a eureka server so no need to regi
我试图使用Spring服务器作为代理服务器,但是当我访问默认上下文时,它不会重定向到url目标。
例如:
@EnableZuulServer
@SpringBootApplication
public class ZuulServerApp {
private static final Logger LOGGER = LoggerFactory.getLogger(ZuulServerApp.class);
public static void main(String[] args) throws Exception {
// Start Spring ap