eclipse - 无法下载源代码和 javadoc

eclipse - unable to download sources and 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());

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