If your Tomcat server has configured to run with the parameter "org.apache.catalina.STRICT_SERVLET_COMPLIANCE=true", you can face with some XML validation exceptions. To fix the issue, you can do:

  1. Update this parameter to false. Open catalina.properties, add line with org.apache.catalina.STRICT_SERVLET_COMPLIANCE=false
  2. If the above solution is not possible, then you have to update the agent war web.xml file as indicated below section.

Updating Agent WAR web.xml File

- Open console/WEB-INF/web.xml

- Update web-app_3_0.xsd with web-app_2_5.xsd

- Update version="3.0" with version="2.5"

And restart the Tomcat. Problem get fixed. Also see attached screenshot.