tomcat-maven-plugin 403 error

前端 未结 21 1370
礼貌的吻别
礼貌的吻别 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条回答
  •  旧巷少年郎
    2020-12-07 18:39

    May be you should check your configuration file in ~/.m2/settings.xml this file have to be with the follow struct :

    
      
      
      
      
      
      
      
      
      
      
    
    

    After that you should to be sure that your server conf is correct for your project, instance of:

      
         
            mytomcat
            test
            test
         
      
    

    later run mvn tomcat:deploy. Remember that also you could run tomcat:deploy -X for see the debbug.

提交回复
热议问题