tomcat-maven-plugin 403 error

前端 未结 21 1412
礼貌的吻别
礼貌的吻别 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:38

    I used to get the same error, you just have to make sure that tomcat-users.xml file contain the user (admin in my case) with roles as (manager, manager-gui, admin, manager-script).

    I have tomcat 7, maven 3 on ubuntu.

提交回复
热议问题