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

问题:第一次新建了一个maven工程文件,但是jsp就出现了The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path的错误,在网上找了一些解决方法,最终把问题解决了。


解决:首先点击工程文件夹,选择properties-》java build path -》Libraries-》Add Libraries-》 service run time-》

          选择自己的Apace-》finish

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


问题解决了!