The import javax.servlet.jsp.JspException cannot be resolved
Posted wumz
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了The import javax.servlet.jsp.JspException cannot be resolved相关的知识,希望对你有一定的参考价值。
问题描述
??重新更换了 Apache Tomcat 的版本,在 Eclipse 中项目报错信息:The import javax.servlet.jsp.JspException cannot be resolved
解决方法
??重新配置一下工程路径,配置服务器。
- Eclipse —> Project —>
Clean...
一下工程; - 右键 工程项目 —> Build Path —>
Configure Build Path...
—> Java Build Path —> Libraries —>Add Library...
—> Server Runtime —> 选择 Apache Tomcat vx.x.x 即可。
以上是关于The import javax.servlet.jsp.JspException cannot be resolved的主要内容,如果未能解决你的问题,请参考以下文章
The import javax.servlet cannot be resolved
解决报错:The import javax.servlet.annotation cannot be resolved
Eclipse打开项目后发生错误: The import javax.servlet cannot be resolved
The import java.util cannot be resolved The import javax.servlet cannot be resolved
The import javax.servlet.jsp.JspException cannot be resolved