The import javax.servlet cannot be resolved
Solution:
Click project: Build Path——>Configure Build Path——>Libraries——>Modulepath——>Add Library——>Server Runtime——>click Tomcat——>Finish。
Done! with the steps above.
Similar Posts:
- JSP Web Error:The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path
- Error reporting when importing Maven project from MyEclipse
- About eclipse new web project, prompt: “the superclass” javax. Servlet. Http. Httpservlet “was not found on the Java” solution
- The solution of the import javax.servlet cannot be resolved in Java
- Eclipse Error:The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path
- JSP Page The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path
- How to Solve “The import javax.servlet cannot be resolved” Error
- [Eclipse]–Error:The superclass “javax.servlet.http.HttpServlet” was not found on the J…
- import javax.servlet.http.HttpSession;
- The following table: unable to import javax. Servlet. HttpServletRequest