为springboot项目,外置tomcat设置不需要项目名访问

修改conf目录下server.xml 将修改host内容,将 <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true"> 改为: <Host name="localhost" appBase="" unpackWARs="true" autoDeploy="true">
相关文章
相关标签/搜索