Find server.conf in the conf folder in tomcat and configure the following code, you can omit the project name path to access such as localhost:8080 to access the project

<Context path="" docBase="C:\Workspaces\Projects\SLSaleSystem_dw\WebRoot"
reloadable="true"/>

 

You can add it in the blackened position as follows


<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">

  <Context path="" docBase="C:\Workspaces\Projects\SLSaleSystem_dw\WebRoot"
  reloadable="true"/>

<!-- SingleSignOn valve, share authentication between web applications
Documentation at: /docs/config/valve.html -->
<!--

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325114036&siteId=291194637