爲springboot項目,外置tomcat設置不需要項目名訪問

修改conf目錄下server.xml 將修改host內容,將 <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true"> 改爲: <Host name="localhost" appBase="" unpackWARs="true" autoDeploy="true">
相關文章
相關標籤/搜索