tomcat7-maven-plugin tomcatManager status code:403, ReasonPhrase:Forbbiden

前端 未结 6 2260
心在旅途
心在旅途 2021-01-30 14:42

I am trying to do mvn clean package tomcat7:deploy but always I get this error: tomcatManager status code:403, ReasonPhrase:Forbbiden

My config

6条回答
  •  你的背包
    2021-01-30 14:49

    There is some misunderstanding about role name and the last part of the URL:

    Originally in tomcat-usres.xml there was only "tomcat" user (role tomcat), user "both" (tomcat + role1) but no admin role. It seems that the last part of the URL equals to role name in some aspect ...

    This worked for me (otherwise I always got 403 even provided correct user + password):

    
    
      
      
      
      
    
    

提交回复
热议问题