Error Messages:
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″/>
Change password, e.g.
<user username=”robot” password=”admin” roles=”manager-script”/>
Read More:
- [Solved] Docker Run Tomcat Error: Cannot find /usr/local/tomcat/bin/setclasspath.sh
- [Solved] Error running ‘tomcat:run‘: Cannot run program “tomcat:run“
- [Solved] java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].StandardContext[]]
- [Solved] Nacos Serve Local Startup Error: Error starting Tomcat context. Exception: org.springframework.beans.factory.BeanCre
- Tomcat Run Error: Can‘t find catalina.jar [How to Solve]
- kakfa Create topic Error: java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.InvalidReplicationFactorException: Replication factor: 3 larger than available brokers: 2.
- [Solved] Tomcat Startup Error: Error deploying web application directory
- [Solved] Cause: org.postgresql.util.PSQLException: ERROR: syntax error at end of input
- [Solved] tomcat Run Error: The selected directory is not a TomEE home
- [Solved] Tomcat runs JavaWeb servlet Error 404
- [Solved] Tomcat configurate HTTPS error: java.net.SocketException: Permission denied
- [Solved] IntelliJ IDEA Start tomcat Error: Disconnected from server
- [Solved] Nacos1.3.2 Startup Error: Unable to start embedded Tomcat
- [Solved] nacos Startup Error: Unable to start embedded Tomcat
- [Solved] JSP tag forwarding forword error: org.apache.jasper.JasperException
- [Solved] Tomcat Do not Start Error: Error: Application Server not specified
- Tomcat cross server upload error 403forbidden [How to Solve]
- [Solved] Tomcat startup error: sub-container startup failed
- [Solved] Mybatis Error: Cause: org.apache.ibatis.builder.BuilderException: Error creating document instance.
- Idea unified setting code to UTF-8 code and solution of Tomcat garbled code