I am getting this error on localhost
Could you please give us a link to the lab – multiple courses are possible for this.
Which archive did you use to install tomcat? You want the one from:
https://downloads.apache.org/tomcat/tomcat-11/v11.0.3/bin/apache-tomcat-11.0.3.tar.gz

