使用Maven开源中国替代中央仓库配置nexus私服出错

hoodlake 发布于 2014/12/04 08:20
阅读 3K+
收藏 0

出错信息如下:
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]

加载中
0
阿信sxq
阿信sxq
请看这个: http://www.oschina.net/question/1867090_211133,官方拒绝了连接的,换一个地址吧,我也遇到这个问题了的
返回顶部
顶部