Solution The Manager page cannot be displayed for Tomcat8
1. Add the following content to conf/tomcat-users. XML
! [java_05](C:\project\dayWork\java\java_05.png)<role rolename="admin-gui"/>
<role rolename="manager-gui"/>
<role rolename="manager-jmx"/>
<role rolename="manager-script"/>
<role rolename="manager-status"/>
<user username="root" password="root" roles="admin-gui,manager-gui,manager-jmx, manager-script,manager-status"/>
Copy the code
2. Modify webapps/manager/ meta-INF /context. XML to replace the following content
<Context antiResourceLocking="false" privileged="true" >
<Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="^. * $" />
</Context>
Copy the code