eclipse的web项目中index.jsp文件出现The superclass" " was not found on the java build path
问题如图
解决办法
- eclipse没有配置tomcat。可以参考eclipse配置tomcat
- 如果已配置安装好tomcat,确认无误,右击项目,选中Build Path/Configure Build Path
点击Add library
选中Server Runtime,点击next
选中Apache Tomcat v7.0,finish即可
处理结果
现在红叉就消除了