Although I am proficient in Java, I am completely new to developing web apps with maven and I am struggling to get started by creating a simple HelloWorld servlet app - I'm using Eclipse Mars and Tomcat 8.
I have added a simple servlet which should print out "hello world" but when I attempt to run the servlet by using the url-pattern (so http://localhost:8080/MyApp/HelloWorld
) I get a 404 error.
When I ran the app for the very first time I got a 500 error stating that my servlet class could not be found but when I refreshed the page it changed to 404. Now I only get a 404 error. I have already tried the following but no joy - TOMCAT - HTTP Status 404.
Any help would be much appreciated.