<tomcat-users>

<role rolename="manager"/>

<role rolename="admin"/>

<user username="admin" password="admin" roles="manager,admin"/>

</tomcat-users>



然后访问:
http://localhost:8080/manager/status 进入控制台