After deploying Navigator to Apache Tomcat, a 404 error sometimes appears in the browser console when trying to access the Navigator URL using ip:port/navigator.
Solution
Perform the following steps to resolve this issue:
- Stop Apache Tomcat.
- Go to the Apache Tomcat configuration folder and open the web.xml file.
- Look for the <welcome-file-list> tag. If it is present, add the following line under this tag:
<welcome-file>index.html</welcome-file>
If it is not present, then add the following to the end of the web.xml file before the </web-app> tag.<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list> - Save the web.xml file.
- Start Apache Tomcat.
- Try accessing Navigator by using the URL, ip:port/navigator.