开发者社区> 问答> 正文

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

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

展开
收起
kun坤 2020-05-28 19:46:45 1217 0
1 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载

相关镜像