課程
/后端開發
/Java
/Spring MVC起步
pom.xml報錯
2016-04-12
源自:Spring MVC起步 3-5
正在回答
那是spring-framework-bom-4.2.4.RELEASE.jar這個jar包沒有導入到工程的buildpath下。
你必須指定版本號,比如:<spring.version>4.2.4.RELEASE</spring.version>否則Maven不知道你要使用的版本,就在pom.xml中添加對應的版本號即可
????<dependency>?? ????????????<groupId>org.springframework</groupId> ????????????<artifactId>spring-webmvc</artifactId> ????????????<version>4.2.4.RELEASE</version> ????????</dependency>
舉報
Java中Spring MVC框架入門教程,快來看最易用的MVC框架
3 回答訪問網站出現:HTTP Error 503. The service is unavailable
1 回答The prefix "context" for element "context:component-scan" is not bound.
1 回答Missing artifact org.slf4j:slf4j-log4j12:jar:${slf4j.version}
2 回答報錯:No plugin found for prefix 'jetty' in the current project and in the plugin groups
4 回答一直都報The goal you specified requires a project to execute but there is no POM in this directory 的錯誤,求大神指教
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2016-05-17
那是spring-framework-bom-4.2.4.RELEASE.jar這個jar包沒有導入到工程的buildpath下。
2016-04-12
你必須指定版本號,比如:<spring.version>4.2.4.RELEASE</spring.version>否則Maven不知道你要使用的版本,就在pom.xml中添加對應的版本號即可