项目导入之后报错:The import javax.servlet cannot be resolved
Posted wanerhu
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了项目导入之后报错:The import javax.servlet cannot be resolved相关的知识,希望对你有一定的参考价值。
项目导入之后报错:The import javax.servlet cannot be resolved
解决方法:在Eclipse中,右击项目,选择Build Path->configure build path->Libraries->Add External JARs,找到你计算机中tomcat的解压路径,在lib文件夹下选中"servlet-api.jar",添加点击“确定”
完成之后如下图所示:
以上是关于项目导入之后报错:The import javax.servlet cannot be resolved的主要内容,如果未能解决你的问题,请参考以下文章
解决报错:The import javax.servlet.annotation cannot be resolved
项目导入时报错:The import javax.servlet.http.HttpServletRequest cannot be resolved
在Myeclipse buildpath 加server lib (server runtime)/项目导入时报错:The import javax.servlet.http.HttpServletR
The import javax.servlet cannot be resolved
Eclipse打开项目后发生错误: The import javax.servlet cannot be resolved
导入javax.servlet。伺服登记无法解决:The import javax.servlet.MultipartConfigElement cannot be resolved