<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">
下方添加:
<Context docBase="项目路径/WebRoot"
path="/项目名称" reloadable="false" privileged="true"/>
在tomcat下文件夹conf下的server.xml中添加