MVN全新安裝的原因建立自己的錯誤 這裏是我得到的錯誤安裝錯誤..MVN乾淨,用「負尋求補償」
... 24 more
{[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.707s
[INFO] Finished at: Thu Jun 12 14:09:51 IST 2014
[INFO] Final Memory: 9M/104M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency- plugin:2.1:unpack-dependencies (get-test-data) on project neo4j-spatial: Error unpacking file: /home/dev237/.m2/repository/org/neo4j/spatial/osm-test-data/20100819/osm-test-data-20100819.jar to: /home/dev237/Projects /spatial/target
[ERROR] org.codehaus.plexus.archiver.ArchiverException: Error while expanding /home/dev237/.m2/repository/org/neo4j/spatial/osm-test-data/20100819/osm-test-data-20100819.jar: Negative seek offset
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
消息「Negative seek offset」指示損壞的下載。你可以驗證文件在那裏,可讀和可以嗎?懷疑你也可能試着刪除lcoal maven repo,然後再試一次? – wemu
http://stackoverflow.com/questions/24178197/how-to-build-maven-after-importing-an-java-spring-project/24178362#24178362 這個答案可能會幫助你通過它 –
我們改變了文件權限到777.how我可以刪除maven回購..可以請具體關於this.I是一個beginer .. – sree