原文:新建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