在conf目录下的tomcat-users.xml文件里配置 添加上:<user username="root" password="123" roles="manager-gui"/>就可以管理web应用了