修改tomcat-users.xml
<role rolename="manager-gui" /> <role rolename="manager-script" /> <role rolename="manager" /> <role rolename="tomcat" /> <user usename="tomcat" password="xxx" roles="manager" /> <user username="app" password="xxx" roles="manager-gui,manager-script" /> <user username="both" password="xxx" roles="manager-gui,manager-script" />
Tomcat9 在conf/tomcat_user.xml配置后,还是出现如下错误 (tomcat8.5也存在这个问题)
然后修改tomcat9/webapps/manager/META-INF的context.xml文件
作者:Work Hard Work Smart
出处:http://www.cnblogs.com/linlf03/
欢迎任何形式的转载,未经作者同意,请保留此段声明!