`
文艺的程序猿
  • 浏览: 98535 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

eclipse新建的web程序,然后创建了一个jsp文件,第一行就出现红叉

 
阅读更多
我新建的web程序,然后创建了一个jsp文件,然后jsp文件的第一行就出现红叉
用鼠标点上去出现“The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path”

解决方法:应该是缺少sevlet的jar包
假定你用的是tomcat
右键点击项目->build path->configure build path->add library->server runtime->apache tomcat
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics