即使我更新了我的pom文件并将jar文件添加到我的构建路径,我在控制台中收到错误,说“丢失工件javax.servlet:jsp-api:jar:3.0:已提供”
答案 0 :(得分:1)
没有jsp-api-3.0.jar。也许你想导入jsp-api 2.2或servlet-api 3.0.1版
请参阅: http://mvnrepository.com/artifact/javax.servlet.jsp/jsp-api http://download.java.net/maven/2/javax/servlet/jsp/jsp-api/ http://repo1.maven.org/maven2/javax/servlet/jsp/javax.servlet.jsp-api/2.3.1/ http://repo1.maven.org/maven2/javax/servlet/javax.servlet-api/