Tag: 春天引导

在Docker容器上运行时,没有找到HTTP请求的映射

Spring Security安装Spring Boot api到目前为止运行良好。 当我尝试从Docker容器运行api时遇到问题,当接收到像http:// localhost:8080 / api / v1 / h2-console /这样的请求时,我得到一个没有找到HTTP请求的映射。 这是直接在jvm上运行应用程序的日志一切正常: 2017-07-22 19:28:36.310 DEBUG 6235 — [nio-8080-exec-1] osswaiFilterSecurityInterceptor : Authorization successful 2017-07-22 19:28:36.310 DEBUG 6235 — [nio-8080-exec-1] osswaiFilterSecurityInterceptor : RunAsManager did not change Authentication object 2017-07-22 19:28:36.310 DEBUG 6235 — [nio-8080-exec-1] ossecurity.web.FilterChainProxy : /h2-console/ reached end of additional filter chain; proceeding with […]