Categories
Eclipse Java Tomcat

How to fix: Eclipse, The superclass “javax.servlet.http.HttpServlet” was not found on the JavaBuild Path

Step 1: Right click on the project root directory, and click on properties

Step 2: Then click on Target Runtimes, select Tomcat, click “Apply and Close”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.