tomcat-maven-plugin 403 error

前端 未结 21 1361
礼貌的吻别
礼貌的吻别 2020-12-07 18:05

When I use mvn tomcat:deploy of tomcat-maven-plugin there is a 403 error:

Failed to execute goal org.codehaus.mojo:tomcat-maven-plugin:1.0:deploy (default-cli) on pr

21条回答
  •  萌比男神i
    2020-12-07 18:18

    If you use Tomcat 7 you need to refer to the url http://localhost:8080/manager/html in the tomcat plugin.

    http://mojo.codehaus.org/tomcat-maven-plugin/examples/deployment-tomcat7.html

    
      org.codehaus.mojo
      tomcat-maven-plugin
      1.2-SNAPSHOT
      
        http://localhost:8080/manager/html
      
    
    

提交回复
热议问题