【问题标题】:Unable to read repository at https://spotbugs.github.io/eclipse/content.xml无法在 https://spotbugs.github.io/eclipse/content.xml 读取存储库
【发布时间】:2018-12-03 05:15:28
【问题描述】:

我尝试安装 SpotBugs 但出现以下错误。

无法读取位于 https://spotbugs.github.io/eclipse/content.xml 的存储库。 java.lang.RuntimeException:意外错误:java.security.InvalidAlgorithmParameterException:trustAnchors 参数必须为非空

我使用: openjdk 版本“10.0.1” 2018-04-17 OpenJDK 运行时环境(构建 10.0.1+10-Ubuntu-3ubuntu1) OpenJDK 64-Bit Server VM(build 10.0.1+10-Ubuntu-3ubuntu1,混合模式)

并且: Eclipse 版本:Oxygen.3a 发布 (4.7.3a)

【问题讨论】:

    标签: java eclipse eclipse-plugin spotbugs


    【解决方案1】:

    首先你可以试试>> sudo update-ca-certificates -f

    如果没有解决,请按照以下步骤操作;

    $ sudo apt install openjdk-8-jre
    $ sudo rm /etc/ssl/certs/java/cacerts
    $ sudo update-ca-certificates — fresh
    

    参考文献:

    祝你好运!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-05-09
      • 2021-08-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-09-07
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多