【发布时间】:2017-10-25 16:03:52
【问题描述】:
我已经成功创建了一个 Spring Boot 应用程序,当我通过 eclipse run as-> Spring Boot Application 执行应用程序时,应用程序成功启动,我可以通过http://localhost:8080/访问主页
但我独立启动 tomcat 并使用 tomcat 应用程序管理器部署 war 文件我无法通过 http://localhost:8080/ 访问我的应用程序,因为这将打开 tomcat 主页而不是我的应用程序。 你能帮我解决这个问题吗?
【问题讨论】:
标签: tomcat spring-boot tomcat8