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

来源:互联网 发布:深圳市网络微课堂 编辑:程序博客网 时间:2024/06/05 10:33

 The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path对于初学者一不小心就会出现这样的问题,在这里给大家一个解决方法。


1.右击web工程
--->Build Path
--->Configure Build Path
--->java Build Path
--->Libraries
--->Add Library
--->Server RunTime
--->Apache Tomcat v8.0
--->Finish

如果你在这里没有看见Apache tomcat v8.0

2.
--->点击Windows
--->perferences
--->server
--->runtime Environments
--->add
--->Apache tomcat v8.0
--->finish



OK 你的问题解决了!!!



阅读全文
0 0
原创粉丝点击