jsp错误: "javax.servlet.http.HttpServlet" was not found on the Java Build Path

在用Eclipse进行Java web开发时,jsp可能会出现这样的错误:The superclass javax.servlet.http.HttpServlet was not found on the Java Build Path。解决办法如下:

选择第四个,添加库

选择蓝色选中的行:

选择--》应用--》OK

问题就可以解决了。

猜你喜欢

转载自blog.csdn.net/coding_1994/article/details/81266463