The tomcat project is not deployed under webapps, how to find

There are no project deployment files under webapps.

Open server.xml

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

<Context path="/stock-web" docBase="/opt/server/apps/stock-web"></Context>

<Context path="/LinLong-Content-Web" docBase="/opt/server/apps/LinLong-Content-Web"></Context>

        <!-- SingleSignOn valve, share authentication between web applications

             Documentation at: /docs/config/valve.html -->

        <!--

        <Valve className="org.apache.catalina.authenticator.SingleSignOn" />

        -->

 

        <!-- 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" />

 

      </Host>

 

Find the deployment file path above in red.

 

If there are always errors during deployment, check the war package to see if the classes are all entered, or recompile.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326586829&siteId=291194637