部署在 GCP 应用引擎上的 Java 8 Spring Webflux 应用程序对于 GET api 出现 404 错误

问题描述 投票:0回答:0

我有一个简单的 spring webflux 应用程序(用于 POC)。我已将其部署到 GCP 应用引擎。我正在使用 Java 8。但是当我到达终点时,我不断得到“错误:未找到”的回应

Controller of my spring webflux

appengine-web.xml file

Insomnia error

pom.xml : 1

pom.xml : 2

我也尝试过使用 tomcat 作为具有 mvc 依赖性的网络服务器,同样的问题发生了。 我曾尝试使用 GCP 官方 github helloworld 项目,同样的问题。我试着关注 youtube 视频。什么都没用 我看到一篇关于安全的帖子,但我的项目中没有这种依赖性。 除此之外,我尝试询问 chatgpt,但没有帮助。

spring-boot google-app-engine google-cloud-platform http-status-code-404 spring-webflux
© www.soinside.com 2019 - 2024. All rights reserved.