【问题标题】:IntelliJ IDEA 2017.1 x64 can't update maven indexsIntelliJ IDEA 2017.1 x64 无法更新 maven 索引
【发布时间】:2017-05-03 23:39:43
【问题描述】:

我已经从

下载了索引文件

repo1.maven.org/maven2/.index/nexus-maven-repository-index.properties repo1.maven.org/maven2/.index/nexus-maven-repository-index.gz

比使用httpServer,在windows10中编辑hosts文件,
这样idea就可以从localhost成功下载maven索引文件了,
但是,gzip 失败了...

org.jetbrains.idea.maven.server.MavenServerIndexerException: 
              java.io.EOFException: Unexpected end of ZLIB input stream

See Pictures

【问题讨论】:

    标签: maven intellij-idea indexing


    【解决方案1】:

    我知道问题是因为文件 nexus-maven-repository-index.gz不好, 所以从这个网址下载文件没问题

    https://repo.maven.apache.org/maven2/.index/nexus-maven-repository-index.gz
    https://repo.maven.apache.org/maven2/.index/nexus-maven-repository-index.properties
    

    【讨论】:

      猜你喜欢
      • 2018-03-25
      • 2023-03-30
      • 2013-04-06
      • 2015-08-17
      • 1970-01-01
      • 1970-01-01
      • 2011-10-04
      • 2017-09-04
      • 2012-09-23
      相关资源
      最近更新 更多