[J]ust a few moment ago i had this kind of error message “The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path” when created Maven web project on Eclipse as you can see from picture below.
The solution is very simple actually, don’t be panic. First just make sure that you have installed Tomcat (or any other servers) in your machine. Second, right click on the project node -> Properties -> Project Facets -> Runtimes Tab -> Check on Tomcat (or others)
Voila!, that error should be disappear now. Hope this tutorial helps other. Happy Java coding 😉