问题描述
org.apache.tomcat.util.digester.Digester.fatalError Parse fatal error at line [40] column [36]
org.xml.sax.SAXParseException; lineNumber: 40; columnNumber: 36; The value of attribute "password" associated with an element type "user" must not contain the '<' character.
解决方案
apache-tomcat-10.0.12\conf\tomcat-users
<user username="admin" password="admin" roles="manager-gui"/>
<user username="robot" password="<must-be-changed>" roles="manager-script"/><user username="tomcat" password="admin" roles="tomcat"/>
<user username="both" password="<must-be-changed>" roles="tomcat,role1"/>
<user username="role1" password="<must-be-changed>" roles="role1"/>
修改password,如:
<user username="robot" password="admin" roles="manager-script"/>