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

新建一个jsp文件之后会出现这个错误,原因是没有配置Server Runtime,工程中没有这个类,所以需要我们的导入。
1、第一步
The superclass "javax.servlet.http.HttpServlet" was not found on the Java_第1张图片
2、
The superclass "javax.servlet.http.HttpServlet" was not found on the Java_第2张图片
3、
The superclass "javax.servlet.http.HttpServlet" was not found on the Java_第3张图片
4、OK

你可能感兴趣的:(java)