org.apache.sshd.common.SshException: Error loading Apache Portable Runtime (APR).

mina-users | Patrick Wright | 11 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

    SSHD client and local SSH Agent

    mina-users | 11 months ago | Patrick Wright
    org.apache.sshd.common.SshException: Error loading Apache Portable Runtime (APR).
  2. 0

    SSHD client and local SSH Agent

    mina-users | 11 months ago | Patrick Wright
    org.apache.sshd.common.SshException: Error loading Apache Portable Runtime (APR).
  3. 0

    GitHub comment 9463#163151918

    GitHub | 1 year ago | satshil
    java.lang.reflect.InvocationTargetException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Apache Tomcat 9.0.0-M4 and http/2 on Mac OS X 10.11.4

    tomcat-users | 11 months ago | Tobias Soloschenko
    java.lang.UnsatisfiedLinkError: org.apache.tomcat.jni.Library.version(I)I
  6. 0

    Re: Apache Tomcat 9.0.0-M4 and http/2 on Mac OS X 10.11.4

    tomcat-users | 11 months ago | Tobias Soloschenko
    java.lang.UnsatisfiedLinkError: org.apache.tomcat.jni.Library.version(I)I

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsatisfiedLinkError

      no tcnative-1 in java.library.path, no libtcnative-1 in java.library.path(/Users/sglo/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.)

      at org.apache.tomcat.jni.Library.<init>()
    2. org.apache.tomcat
      Library.initialize
      1. org.apache.tomcat.jni.Library.<init>(Library.java:73)
      2. org.apache.tomcat.jni.Library.initialize(Library.java:174)
      2 frames
    3. Apache Mina SSHD :: Core
      UnixAgentFactory.createClient
      1. org.apache.sshd.agent.unix.AprLibrary.<init>(AprLibrary.java:63)
      2. org.apache.sshd.agent.unix.AprLibrary.initialize(AprLibrary.java:92)
      3. org.apache.sshd.agent.unix.AprLibrary.getInstance(AprLibrary.java:81)
      4. org.apache.sshd.agent.unix.AgentClient.<init>(AgentClient.java:63)
      5. org.apache.sshd.agent.unix.UnixAgentFactory.createClient(UnixAgentFactory.java:99)
      5 frames
    4. org.apache.sshd
      UserAuthPublicKey.init
      1. org.apache.sshd.client.auth.pubkey.UserAuthPublicKeyIterator.<init>(UserAuthPublicKeyIterator.java:59)
      2. org.apache.sshd.client.auth.pubkey.UserAuthPublicKey.init(UserAuthPublicKey.java:77)
      2 frames
    5. Apache Mina SSHD :: Core
      ClientUserAuthService.process
      1. org.apache.sshd.client.session.ClientUserAuthService.tryNext(ClientUserAuthService.java:328)
      2. org.apache.sshd.client.session.ClientUserAuthService.processUserAuth(ClientUserAuthService.java:252)
      3. org.apache.sshd.client.session.ClientUserAuthService.process(ClientUserAuthService.java:199)
      3 frames
    6. org.apache.sshd
      AbstractSessionIoHandler.messageReceived
      1. org.apache.sshd.common.session.helpers.AbstractSession.doHandleMessage(AbstractSession.java:530)
      2. org.apache.sshd.common.session.helpers.AbstractSession.handleMessage(AbstractSession.java:463)
      3. org.apache.sshd.common.session.helpers.AbstractSession.decode(AbstractSession.java:1325)
      4. org.apache.sshd.common.session.helpers.AbstractSession.messageReceived(AbstractSession.java:424)
      5. org.apache.sshd.common.session.helpers.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:67)
      5 frames
    7. Apache Mina SSHD :: Core
      Nio2CompletionHandler$1.run
      1. org.apache.sshd.common.io.nio2.Nio2Session.handleReadCycleCompletion(Nio2Session.java:285)
      2. org.apache.sshd.common.io.nio2.Nio2Session$2.onCompleted(Nio2Session.java:265)
      3. org.apache.sshd.common.io.nio2.Nio2Session$2.onCompleted(Nio2Session.java:262)
      4. org.apache.sshd.common.io.nio2.Nio2CompletionHandler$1.run(Nio2CompletionHandler.java:37)
      4 frames
    8. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    9. Apache Mina SSHD :: Core
      Nio2CompletionHandler.completed
      1. org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:34)
      1 frame
    10. Java RT
      Thread.run
      1. sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
      2. sun.nio.ch.Invoker$2.run(Invoker.java:218)
      3. sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      6. java.lang.Thread.run(Thread.java:745)
      6 frames