tomcat-user.xml配置为如下:
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
  <role rolename="tomcat"/>
  <role rolename="role1"/>
  <role rolename="manager"/>
  <role rolename="admin"/>
  <user username="tomcat" password="tomcat" roles="tomcat"/>
  <user username="role1" password="tomcat" roles="role1"/>
  <user username="both" password="tomcat" roles="tomcat,role1"/>
  <user username="ncidream" password="ncidream" roles="admin,manager"/>
</tomcat-users>打开http://localhost:8080/manager/html      :OK打开http://localhost:8080/admin/            :失败
提示:Tomcat's administration web application is no longer installed by default. Download and install the "admin" package to use it.