<分区>
我遵循了官方 spring 教程“使用 Maven 将 Spring Boot JAR 应用程序转换为 WAR”link .
生成的 war 文件部署在 tomcat 上,可在以下位置访问:
a)http://localhost:8080/${AppName}/
http://localhost:8080/gs-convert-jar-to-war-maven-0.1.0/ in case of the tutorial.
我需要更改哪些配置才能使我的应用程序直接在
http://localhost:8080/ (without the appName)
在 tomcat 上运行我的 war 文件时?
谢谢,
罗恩