修改server.xml

在<host></host>间添加<Context path="" docBase="你的目录" debug="0" reloadable="true" />

重启tomcat就行了

我开始一直就在纠结在appbase=这块,没想到tomcat分的这么清楚