【问题标题】:eclipse - unable to download sources and javadoceclipse - 无法下载源代码和 javadoc
【发布时间】:2016-09-15 08:44:41
【问题描述】:

每当我尝试打开方法或变量的声明时,都会收到此错误:

An internal error occurred during: "Download sources and javadoc".
Unable to provision, see the following errors:

1) Error injecting constructor, java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)
  at io.takari.aether.connector.AetherRepositoryConnectorFactory.<init>(Unknown Source)
  at ClassRealm[plexus.core, parent: null] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule)
  while locating io.takari.aether.connector.AetherRepositoryConnectorFactory
  while locating java.lang.Object annotated with *

1 error

我执行一个命令 + 点击这里的setSoLinger,这时我得到了那个错误

final SocketConfig.Builder socketConfigBuilder = SocketConfig.custom();
socketConfigBuilder.setSoLinger(someConfig.getSoLinger());

【问题讨论】:

  • 你能告诉我们你试图查看源代码的代码吗?
  • 虽然我已经更新了描述,但我在终端上运行了mvn dependency:sources,并且源现在开始出现。我认为这不是正确的解决方案,因此不要将其作为可接受的答案。
  • stackoverflow.com/questions/9761575/…。运行 Eclipse IDE(可以在 eclipse.ini 中配置)的 JVM 似乎存在安全配置问题。

标签: eclipse javadoc


【解决方案1】:

在终端上执行mvn dependency:sources,源现在开始出现在eclipse中。

【讨论】:

    猜你喜欢
    • 2021-10-14
    • 2013-06-03
    • 2016-06-17
    • 2019-08-12
    • 2011-11-24
    • 1970-01-01
    • 2011-10-15
    • 2011-04-13
    • 2017-11-14
    相关资源
    最近更新 更多