tomcat Digester.fatalError Parse fatal error

created at 10-21-2021 views: 48

Problem Description

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.

solution

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"/>

Modify password, for example:

<user username="robot" password="admin" roles="manager-script"/>
created at:10-21-2021
edited at: 10-21-2021: