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

在这里插入图片描述
https://www.cnblogs.com/achengmu/p/8082457.html

按以上方法操作时,若打开Server Runtime后一回片空白,需要设置Apache服务器。设置方法为:window->Preferences->Server->Runtime Environment -> add --> 选择Apache的版本后点Next,再填入你apache服务器软件的安装(解压后)地址。