求大神解決
信息]掃描項(xiàng)目……
(信息)
[信息]- - - - - - - - - - - - - - - - - - < com.imooc。maven01:maven01-model > - - - - - - - - - - - - - - - - - - -
[信息]建筑maven01-model 0.0.1-SNAPSHOT
[信息]- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -(jar)- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
從中央下載:https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.6/maven-resources-plugin-2.6.pom
[信息]- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[信息]構(gòu)建失敗
[信息]- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
【信息】總時(shí)間:1.351秒
(信息)完成:2018 - 07 - 18 - t20:15:31 +喂飼
[信息]- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[錯(cuò)誤]插件org.apache.maven.plugins:maven-resources-plugin:2.6或其中一個(gè)依賴項(xiàng)無法解決:無法讀取org. apache.mavene.maven.plugins .maven.plugins: maven-resourcs-plugin . jar:無法傳輸工件來源:http://apache.maven.maven.maven.asp.plugins:
(錯(cuò)誤)
要查看錯(cuò)誤的完整堆棧跟蹤,請使用-e開關(guān)重新運(yùn)行Maven。
[ERROR]使用-X開關(guān)重新運(yùn)行Maven,以啟用完全調(diào)試日志記錄。
(錯(cuò)誤)
[錯(cuò)誤]有關(guān)錯(cuò)誤和可能的解決方案的更多信息,請閱讀以下文章:
(錯(cuò)誤)[幫助1]http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
2018-07-29
糾結(jié)了一天,最后找到原因 這是聯(lián)通網(wǎng)絡(luò)無法訪問的問題
配置settings.xml,把里面的mirrors節(jié)點(diǎn)替換成下面的 就行了
? ? <mirrors>
? ? ? ? <!-- 阿里云倉庫 -->
? ? ? ? <mirror>
? ? ? ? ? ? <id>alimaven</id>
? ? ? ? ? ? <mirrorOf>central</mirrorOf>
? ? ? ? ? ? <name>aliyun maven</name>
? ? ? ? ? ? <url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
? ? ? ? </mirror>
? ??
? ? ? ? <!-- 中央倉庫1 -->
? ? ? ? <mirror>
? ? ? ? ? ? <id>repo1</id>
? ? ? ? ? ? <mirrorOf>central</mirrorOf>
? ? ? ? ? ? <name>Human Readable Name for this Mirror.</name>
? ? ? ? ? ? <url>http://repo1.maven.org/maven2/</url>
? ? ? ? </mirror>
? ??
? ? ? ? <!-- 中央倉庫2 -->
? ? ? ? <mirror>
? ? ? ? ? ? <id>repo2</id>
? ? ? ? ? ? <mirrorOf>central</mirrorOf>
? ? ? ? ? ? <name>Human Readable Name for this Mirror.</name>
? ? ? ? ? ? <url>http://repo2.maven.org/maven2/</url>
? ? ? ? </mirror>
? ? </mirrors>
2.刪除本地的歷史,在.m下面 具體路徑百度
2018-08-07
真大神
2018-07-19
2018-07-19
第一行代碼是點(diǎn)? 不是句號