【发布时间】:2014-07-16 01:04:45
【问题描述】:
我按照春季官方教程“Converting a Spring Boot JAR Application to a WAR using Maven”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 上运行我的战争文件时?
谢谢,
罗恩
【问题讨论】:
-
应该更加勤于研究。在这里回答:stackoverflow.com/questions/18413723/…
标签: java tomcat tomcat7 spring-boot