Deploying my application at the root in Tomcat

后端 未结 10 1785
说谎
说谎 2020-11-22 06:25

I have the war file of my application. I need to deploy this at the root level. The current URL is http://localhost:8080/war_name/application_name.

10条回答
  •  花落未央
    2020-11-22 07:07

    open tomact manager url :- http://localhost:8080/manager/html/
    then in applications you see a application having path as "/" is deployed
    simply Undeploy this.
    Rename your application's war file as ROOT.war and just place at path :-
    C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps
    start your Tomcat No extra configuration needed.
    Now we can see our application home page or configured url at http://localhost:8080

提交回复
热议问题