1.在我们新建一个jsp文件时 出现
The superclass "javax.servlet.http.HttpServlet" was not found on the Java
The superclass "javax.servlet.http.HttpServlet" was not found on the Java
Build Path
2. 在新建一个class文件时要继承一个接口 输进去 显示接口不存在
原因就是没有添加tomcat进去
解决方法如下图