<role rolename="admin-gui"/> <role rolename="manager-gui"/> <user username="admin" password="admin" roles=" admin-gui , manager-gui "/>
复制上面的代码到tomcat-users.xml,重启,admin admin登陆
<role rolename="admin-gui"/> <role rolename="manager-gui"/> <user username="admin" password="admin" roles=" admin-gui , manager-gui "/>
复制上面的代码到tomcat-users.xml,重启,admin admin登陆