1. If the project is a non-war package with a project file directory structure, you need to add the following file path to the conf file of tomcat
and match its name
D:\softwares\javatools\tomcat\apache-tomcat-8.5.15\conf\Catalina\localhost
Then configure the mapping relationship in it
<Context path="/BPMWeb" docBase="D:\softwares\javatools\tomcat\apache-tomcat-8.5.15\webapps\BPMWeb" debug="0" reloadable="true" crossContext="true">
</Context>
2. How to configure projects with different ports
Suppose I have two tomcats (8.0 8.5) here, one starts with ide, and one runs another front-end project
It cannot be enabled at the same time because it will cause port conflicts, so you need to configure the tomcat server.xml of 8.5
Modify 8005 8009 8080 ports
Modify these ports and then start