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

GitHub | solind | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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