`
672627493
  • 浏览: 16975 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

javax.servlet.http.HttpServlet" was not found on the Java Build Path

阅读更多

eclipse新建项目的时候,出现如下错误,并且在jsp里request.没有提示

 

Description    Resource    Path    Location    Type
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path    head.jsp    /fas/WebContent    line 1    JSP Problem

原因是因为没有导入runtime库.

 

解决办法是: 右击项目 properties -- java buld path --libraries --add libraries -- service runtimg ,选中自己的tomcat

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics