2020-04-02

Error in new Eclipse: The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path


Just downloaded: eclipse-jee-2020-03-R-incubation-win32-x86_64.zip


Error in eclipse:
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path


Solved by:
Project Properties > Project Facets > Runtimes(tab) > Select target Tomcat from list (check box).




References:
  1. https://howtodoinjava.com/eclipse/solved-the-superclass-javax-servlet-http-httpservlet-was-not-found-on-the-java-build-path-in-eclipse/









No comments:

Google Referrals