The user name and password are set as follows:
Settings within the <tomcat-users> tag in the Tomcat installation directory \conf\tomcat-users.xml:
<role rolename= "Manager"/>
<user username= "Me" password= "Isme" roles= "manager"/>
Excuse me, why is it rejected?
Locate the Tomcat-users.xml file in Conf under the Tomcat installation directory;
Turn to the end of the document;
Add <role rolename= "Manager-gui" to the permissions/>;
Add <user username= "admin" password= "admin" roles= "Manager-gui" in the role/> The user name and password can be determined by themselves;
Add the following:
<!--
<role rolename= "Manager-gui"/>
<role rolename= "Tomcat"/>
<role rolename= "Role1"/>
<user username= "Tomcat" password= "Tomcat" roles= "Tomcat"/>
<user username= "Both" password= "Tomcat" roles= "Tomcat,role1"/>
<user username= "Role1" password= "Tomcat" roles= "Role1"/>
-
<user username= "admin" password= "admin" roles= "Manager-gui"/>
</tomcat-users>
Display 403 Access Denied when you log on