Eclipse惊现The superclass “javax.servlet.http.HttpServlet“ was not found on the Java Build Path解决方法
原因tomcat设置问题1、下载tomcat官网2、解压缩,放到指定文件夹(防止误删)3、Windows->Preferences->RuntimeEnvironments->Add->Apache->Apachetomcat指定版本->Next->第2步tomcat的位置->finish->Applyandclose3、选中项目名,右键BuildPath->ConfigureBuildPath-