我运行 tomcat 服务器并将 http://localhost:8080/
放在浏览器上。但它没有显示我的应用程序主页。并只显示 tomcat 主页。
请在何处以及如何更改以显示我的主页
[INFO] Running war on http://localhost:8080/
[INFO] Using existing Tomcat server configuration at D:\Tutorial2\zayarmyat2\first-web-application\target\tomcat
最佳答案
您需要指定 context path当您部署应用程序时。 Here是关于如何部署到上下文根的快速教程。
关于java - 如何将tomcat主页更改为我的应用程序主页,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59275610/