找到conf下server.xml文件修改如下位置内容

<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">
    <Context path="" docBase="webapp下的项目名" debug="0" reloadable="true" />
</Host>

  

相关文章: