出错信息如下: org.sonatype.nexus.proxy.RemoteAccessDeniedException: Forbidden jvm 1 | at org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientRemoteStorage.doExecuteRequest(HttpClientRemoteStorage.java:570) ~[nexus-core-2.11.0-02.jar:2.11.0-02] jvm 1 | at org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientRemoteStorage.executeRequest(HttpClientRemoteStorage.java:516) ~[nexus-core-2.11.0-02.jar:2.11.0-02] jvm 1 | at org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientRemoteStorage.retrieveItem(HttpClientRemoteStorage.java:217) ~[nexus-core-2.11.0-02.jar:2.11.0-02] jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager$11.retrieve(DefaultIndexerManager.java:1254) ~[nexus-indexer-lucene-plugin-2.11.0-02/:na] jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.downloadIndexProperties(DefaultIndexUpdater.java:465) ~[nexus-indexer-lucene-plugin-2.11.0-02/:na] jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.access$000(DefaultIndexUpdater.java:76) ~[nexus-indexer-lucene-plugin-2.11.0-02/:na] jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater$IndexAdaptor.setProperties(DefaultIndexUpdater.java:595) ~[nexus-indexer-lucene-plugin-2.11.0-02/:na] jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:822) ~[nexus-indexer-lucene-plugin-2.11.0-02/:na] jvm 1 | at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:159) ~[nexus-indexer-lucene-plugin-2.11.0-02/:na] jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:1291) [nexus-indexer-lucene-plugin-2.11.0-02/:na] jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.access$1100(DefaultIndexerManager.java:188) [nexus-indexer-lucene-plugin-2.11.0-02/:na] jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager$IndexUpdateRunnable.run(DefaultIndexerManager.java:1060) [nexus-indexer-lucene-plugin-2.11.0-02/:na] jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.sharedSingle(DefaultIndexerManager.java:2320) [nexus-indexer-lucene-plugin-2.11.0-02/:na] jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:1001) [nexus-indexer-lucene-plugin-2.11.0-02/:na] jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:961) [nexus-indexer-lucene-plugin-2.11.0-02/:na] jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:938) [nexus-indexer-lucene-plugin-2.11.0-02/:na] jvm 1 | at org.sonatype.nexus.index.tasks.ReindexTaskHandlerLegacy.reindexRepository(ReindexTaskHandlerLegacy.java:61) [nexus-indexer-lucene-plugin-2.11.0-02/:na] jvm 1 | at org.sonatype.nexus.index.tasks.AbstractIndexerTask.doRun(AbstractIndexerTask.java:68) [nexus-indexer-lucene-plugin-2.11.0-02/:na] jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:151) [nexus-core-2.11.0-02.jar:2.11.0-02] jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:418) [nexus-scheduler-2.11.0-02.jar:2.11.0-02] jvm 1 | at org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:44) [nexus-core-2.11.0-02.jar:2.11.0-02] jvm 1 | at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) [shiro-core-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) [shiro-core-1.2.3.jar:1.2.3] jvm 1 | at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.8.0_25] jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source) [na:1.8.0_25] jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [na:1.8.0_25] jvm 1 | at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_25] jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_25] jvm 1 | at java.lang.Thread.run(Unknown Source) [na:1.8.0_25]
请看这个: http://www.oschina.net/question/1867090_211133,官方拒绝了连接的,换一个地址吧,我也遇到这个问题了的######这里补充一下, Maven构建、坐标、仓库、私服、镜像的概念
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。