<user roles="manager-gui" username="tomcat" password="tomcat123"/> </tomcat-users> 3. 重启tomcat 点击Manager APP,输入用户名tomcat,密码tomcat123。