Tomcat manager页面报403

时间:2023-03-10 03:01:46
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.

处理方式如下:

Tomcat manager页面报403

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