web项目部署到tomcat报错:Eclipse javax.servlet.jsp.PageContext cannot be resolved to a type

解决办法:

1.项目右键--->Build Path--->Add Libraries

Eclipse javax.servlet.jsp.PageContext cannot be resolved to a type

2.点击Server Runtime--->next

Eclipse javax.servlet.jsp.PageContext cannot be resolved to a type

3.选中tomcat--->finish

Eclipse javax.servlet.jsp.PageContext cannot be resolved to a type

4.Libraries中会有Tomcat

Eclipse javax.servlet.jsp.PageContext cannot be resolved to a type

6.Order and Exception--->勾选Tomcat--->apply--->OK

Eclipse javax.servlet.jsp.PageContext cannot be resolved to a type

 

问题解决!

Eclipse javax.servlet.jsp.PageContext cannot be resolved to a type

相关文章: