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

项目出现 The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 解决方法

2017-03-28 16:46 by 安松, 12557 阅读, 0 评论, 收藏编辑

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

①项目右击-->build path -->添加libraries-->server runtime-->ok

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

 

②下图

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