有客户要求使用weblogic发布微服务的项目,我们使用的是eureka+gateway。
琢磨了半天没有成效,最后,SpringCloud Gateway官网看了一下
https://docs.spring.io/spring-cloud-gateway/docs/current/reference/html/
Spring Cloud Gateway requires the Netty runtime provided by Spring Boot and Spring Webflux. It does not work in a traditional Servlet Container or when built as a WAR. |
Spring Cloud Gateway 需要 Spring Boot 和 Spring Webflux 提供的 Netty 运行。不适用于传统的 Servlet 容器或构建为 WAR 。只能打成jar包使用。