When I created a JSP page in Eclipse Neon, the following error message appeared:
"The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path"
When I created a Servlet the following error message appeared:
"The import javax.faces cannot be resolved"
Other answers for the "same" question say there is a common root : the targeted runtime is unselected in the project properties. According to this I have selected the Glassfish 4 server. And I can see the servlet-api.jar in the Java Resources\Libraries\Glassfish Libraries. The servlet error message disappeared but the JSP one lives on. How could I disappear it as well?
OK. I have reloaded the project and the error message disappeared.