javax.servlet.jsp.JspException cannot be resolved to a type

这可能是新版本eclipse的冲突导致。

解决方式:右键你的项目--properties选择Targeted Runtimes,选择你的运行环境,我选择Apache Tomcat v7.0,Apply--OK。

原文地址:https://www.cnblogs.com/lingcheng7777/p/11679218.html