Upgrading from Tomcat 8.5 to 10.1. I used server.xml from 10.1 install. Just added a context for the root path /
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">
<Context path="" docBase="[path]" reloadable="true" override="true">
</Context>
<!-- SingleSignOn valve, share authentication between web applications
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
-->
<!-- Access log processes all example.
Documentation at: /docs/config/valve.html
Note: The pattern used is equivalent to using pattern="common" -->
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log" suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />
</Host>
</Engine>
http://localhost:8080 or http://localhost:8080/index.html
gets and error
HTTP Status 404 – Not Found
Message The requested resource [/index.html] is not available
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Apache Tomcat/10.1.7
Type Status Report>
`
At first I tried using sever.xml from ver 8.5.
I uninstalled Tomcat and added just the <Context> directive. Still getting 404. What am I missing?
Java is jdk-19