The web.xml file in the CONF directory in the Tomcat installation directory saves the file format that Tomcat is currently identified. It is found that there is no ICO file format, so according to the following method, you can solve this problem:
Open Web.xml
Add the following code to restart Tomcat.
ICO extension>
image / x-icon mime-type>
mime-mapping>