原文:新建maven指定jdk版本-eclipse新建maven项目报错The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path的解决方案

具体表现为: 使用Eclipse Maven建立了一个Javaweb工程,JSP页面顶端出现 红色 的报错信息:The superclass javax.servlet.http.HttpServlet was not found on the Java Build Path。 解决方法: 在pom.xml中的 lt build gt lt build gt 中 添加: 然后Maven gt Up ...

2016-07-11 00:04 0 8913 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM