How to set context path to root(“/”) in Tomcat 7.0 when using Maven

前端 未结 2 2158
春和景丽
春和景丽 2021-02-07 08:15

I hava a maven project, pom.xml contains tomcat plugin.


 org.apache.tomcat.maven
 tomcat7-maven-p         


        
2条回答
  •  广开言路
    2021-02-07 08:50

    Have you tried changing the context path by setting it in the configuration section of the Maven plugin?

    FYI: Find the current version of the plugin here

      
       org.apache.tomcat.maven
       tomcat7-maven-plugin
       2.2
    
        
          /
        
    
      
    

提交回复
热议问题