tomcat 的conf/server.xml 里
< Host name=“这里填写你的域名” appBase=“webapps”
unpackWARs=“true” autoDeploy=“true”>
<!-- Access log processes all example.
Documentation at: /docs/config/valve.html
Note: The pattern used is equivalent to using pattern="common" -->
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log" suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />
<!--
-->
下面这一行配置一下你存放的路径即可
<Context path="" docBase="/usr/anda/local/apache-tomcat-8.5.33/webapps/actor_education" reloadable="true" />
</Host>