eclipse - 无法下载源代码和javadoc

时间:2016-09-15 08:44:42

标签: eclipse javadoc

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

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());

1 个答案:

答案 0 :(得分:0)

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