我正在使用dependency spring-cloud-gateway-webflux和ProxyExchange来做这件事。我在localhost中启动应用程序,并从浏览器启动它,但是,它返回404 not found。如果我使用spring-cloud-gateway-mvc而不是spring-cloud-gateway-webflux,令人惊讶的是,代理可以工作,并且我可以在我的本地主机中浏览stackove
我使用spring 2.1.1版本并使用@EnableWebFlux,但是我遇到了一些错误。Initialization of bean failed; nested exception is java.lang.IllegalStateException: The Java/XML config for SpringMVC and SpringWebFlux cannot both be enabled, e.g. via @EnableWebMvc and @EnableWebFlux, in the sa