...
Stop the Tomcat server.
Locate the server.xml file under the Tomcat installation directory.
Open the server.xml file and locate the "<Host" tag.
Add the following valve below the <Host> tag:
Code Block howServerInfo="false" /><Valve<Valve className="org.apache.catalina.valves.ErrorReportValve" showReport="false" sshowServerInfo="false" />
Save the server.xml file.
Start the Tomcat server.
...