Tomcat manager页面报403

一、前言

我这边已经配置了tomcat-users.xml:

<tomcat-users xmlns="http://tomcat.apache.org/xml"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"
              version="1.0">

<role rolename="manager-gui"/>
<user username="admin" password="admin" roles="manager-gui"/>
<user username="deployer" password="deployer" roles="manager-script" />


</tomcat-users>

 

但是访问时,依然报403.

处理方式如下:

 

https://blog.csdn.net/chf1142152101/article/details/62042769

 

posted @ 2019-03-06 13:16  三国梦回  阅读(245)  评论(0编辑  收藏  举报