1、訪問 http://localhost:8080/,點擊 【manager app】,提示輸入用戶名和密碼,admin/admin后報錯。
2、解決辦法:重置Tomcat8.5管理員的用戶名和密碼
打開%CATALINA_HOME%\conf\tomcat-users.xml文件,在tomcat-users標簽中添加如下內容:
<tomcat-users xmlns="http://tomcat.apache.org/xml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"
version="1.0">
<role rolename="manager-gui"/>
<role rolename="admin-gui"/>
<user username="admin" password="admin" roles="manager-gui,admin-gui"/>
</tomcat-users>
3、訪問 http://localhost:8080/,點擊 【manager app】,顯示如下: