java.lang.NoClassDefFoundError: org/bouncycastle/asn1/nist/NISTNamedCurves

GitHub | solind | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 271#246358452

    GitHub | 6 months ago | solind
    java.lang.NoClassDefFoundError: org/bouncycastle/asn1/nist/NISTNamedCurves

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/bouncycastle/asn1/nist/NISTNamedCurves

      at net.schmizz.sshj.common.KeyType$3.readPubKeyFromBuffer()
    2. sshj
      OpenSSHKnownHosts.<init>
      1. net.schmizz.sshj.common.KeyType$3.readPubKeyFromBuffer(KeyType.java:146)
      2. net.schmizz.sshj.common.Buffer.readPublicKey(Buffer.java:429)
      3. net.schmizz.sshj.transport.verification.OpenSSHKnownHosts$EntryFactory.parseEntry(OpenSSHKnownHosts.java:215)
      4. net.schmizz.sshj.transport.verification.OpenSSHKnownHosts.<init>(OpenSSHKnownHosts.java:62)
      5. net.schmizz.sshj.transport.verification.OpenSSHKnownHosts.<init>(OpenSSHKnownHosts.java:47)
      5 frames