Servlet error
Answered
Good evening, I am a total newbie to intelliJ, I have just downloaded the ultimate version and followed a quick guide on create a Java web application. Before I even edit anything, I have run the app using Tomcat server, this open up the index.jsp file but when I click on the link to the hello-servlet page, it returns and 404 error.
Could anyone help with what I am doing wrong?
Danny
Please sign in to leave a comment.
Please share a sample project zipped: https://uploads.jetbrains.com.
Hi done 2021_03_24_YHaPbXi9z4hhEz5Y
The issue seems to be Tomcat 10 specific. It works fine with Tomcat 9.
Thanks....tbh the tutorial was using tomcat 9, I just got 10 as it was the latest release. I will change to 9
See https://stackoverflow.com/a/66808062/104891 for the details why it doesn't work with Tomcat 10.