3

Whenever I try to open declaration of a method or variable, I get this error:

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

I do a command + click on setSoLinger here, that's when I get that error

final SocketConfig.Builder socketConfigBuilder = SocketConfig.custom();
socketConfigBuilder.setSoLinger(someConfig.getSoLinger());
3
  • Can you show us the code that you are trying to see the source for?
    – Dale
    Sep 15, 2016 at 8:51
  • 1
    Although I have updated the description, I ran mvn dependency:sources on the terminal and sources now started appearing. I don't think that is the correct solution, so not putting it as an accepted answer.
    – neeraj
    Sep 15, 2016 at 14:06
  • See stackoverflow.com/questions/9761575/… . The JVM that's running your Eclipse IDE (which you can configure in eclipse.ini) seems to have issues about security configuration.
    – Mickael
    Sep 15, 2016 at 20:37

2 Answers 2

3

Executed mvn dependency:sources on the terminal and sources now started appearing in eclipse.

1

This command is magic:

mvn dependency:sources
1
  • This answer could be improved by providing more information on what the command man dependancy:sources does and how it helps the OP.
    – Tyler2P
    Dec 29, 2022 at 10:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.