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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via mina-users by Patrick Wright, 1 year ago
Error loading Apache Portable Runtime (APR).
via mina-users by Patrick Wright, 1 year ago
Error loading Apache Portable Runtime (APR).
org.apache.sshd.common.SshException: Error loading Apache Portable Runtime (APR).
at org.apache.tomcat.jni.Library.(Library.java:73)
at org.apache.tomcat.jni.Library.initialize(Library.java:174)
at org.apache.sshd.agent.unix.AprLibrary.(AprLibrary.java:63)
at org.apache.sshd.agent.unix.AprLibrary.initialize(AprLibrary.java:92)
at org.apache.sshd.agent.unix.AprLibrary.getInstance(AprLibrary.java:81)
at org.apache.sshd.agent.unix.AgentClient.(AgentClient.java:63)
at org.apache.sshd.client.auth.pubkey.UserAuthPublicKeyIterator.(UserAuthPublicKeyIterator.java:59)
at org.apache.sshd.client.auth.pubkey.UserAuthPublicKey.init(UserAuthPublicKey.java:77)
at org.apache.sshd.client.session.ClientUserAuthService.tryNext(ClientUserAuthService.java:328)
at org.apache.sshd.client.session.ClientUserAuthService.processUserAuth(ClientUserAuthService.java:252)
at org.apache.sshd.common.session.helpers.AbstractSession.doHandleMessage(AbstractSession.java:530)
at org.apache.sshd.common.session.helpers.AbstractSession.handleMessage(AbstractSession.java:463)
at org.apache.sshd.common.session.helpers.AbstractSession.decode(AbstractSession.java:1325)
at org.apache.sshd.common.session.helpers.AbstractSession.messageReceived(AbstractSession.java:424)
at org.apache.sshd.common.session.helpers.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:67)
at org.apache.sshd.common.io.nio2.Nio2Session.handleReadCycleCompletion(Nio2Session.java:285)
at org.apache.sshd.common.io.nio2.Nio2Session$2.onCompleted(Nio2Session.java:265)
at org.apache.sshd.common.io.nio2.Nio2Session$2.onCompleted(Nio2Session.java:262)
at org.apache.sshd.common.io.nio2.Nio2CompletionHandler$1.run(Nio2CompletionHandler.java:37)
at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
at sun.nio.ch.Invoker$2.run(Invoker.java:218)
at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.