需在server.xml中进行配置

<Host name="localhost" appBase="webapps"

    unpackWARs="true" autoDeploy="true">

  <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"

   prefix="localhost_access_log" suffix=".txt"

   pattern="%h %l %u %t &quot;%r&quot; %s %b" />

    <Context path="/chat" docBase="../webapps/irobot.war" reloadable="true" source="org.eclipse.jst.jee.server:tsj-spring"/>

    <Context docBase="D:\aaaaaaaaaaaaa\apache-tomcat-8.5.51\webapps\HCS_ROBOT" path="" debug="0" reloadable="true"/>

    <Context docBase="D:\aaaaaaaaaaaaa\apache-tomcat-8.5.51\webapps\easyUI" path="/easyUI" debug="0" reloadable="true"/>

    <Context docBase="D:\aaaaaaaaaaaaa\apache-tomcat-8.5.51\webapps\assistant" path="/assistant" debug="0" reloadable="true"/>

    <Context docBase="D:\aaaaaaaaaaaaa\apache-tomcat-8.5.51\webapps\ADdesign" path="/ADdesign" debug="0" reloadable="true"/>

</Host>