天天看點

Missing artifact org.springframework:spring-context:jar:3.1.1.RELEASE:compile

在使用maven來塔建SpringMVC+Mybatis+Spring時出現了:

<code>Missing artifact org.springframework:spring-context:jar:</code><code>3.1</code><code>.</code><code>1</code><code>.RELEASE:compile</code>

但是可以下載下傳spring-context-3.1.1.RELEASE.jar放在指定目錄直線運作:

<code>mvn install:install-file -DgroupId=org.springframework -DartifactId=spring-context -Dversion=</code><code>3.1</code><code>.</code><code>1</code><code>.RELEASE -Dpackaging=jar -Dfile=D:\Java\spring\org.springframework.core-</code><code>3.1</code><code>.</code><code>3</code><code>.RELEASE.jar</code>

注:在執行上述指令時候Project-&gt;Clean(eclipse)。

即可

本文轉自 夢朝思夕 51CTO部落格,原文連結:http://blog.51cto.com/qiangmzsx/1562769

繼續閱讀