java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no jansi in java.library.path]

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Kotlin Compiler build fail in Raspberrypi2
    via Stack Overflow by Kyungkoo
    ,
  • No Jansi support on FreeBSD
    via GitHub by dereckson
    ,
  • UnsatisfiedLinkError in win32
    via GitHub by planck0
    ,
  • Wildfly CLI not working for me
    via Stack Overflow by Patrick Garner
    ,
  • No JLineReader in REPL
    via by Jan van der Vorst,
    • java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no jansi in java.library.path] at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182) at org.fusesource.hawtjni.runtime.Library.load(Library.java:140) at org.fusesource.jansi.internal.CLibrary.<clinit>(CLibrary.java:37) at au.com.dius.pact.provider.org.fusesource.jansi.AnsiConsole.wrapOutputStream(AnsiConsole.java:48) at au.com.dius.pact.provider.org.fusesource.jansi.AnsiConsole.<clinit>(AnsiConsole.java:38) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at org.codehaus.groovy.vmplugin.v7.Selector$MethodSelector.getMetaClass(Selector.java:531) at org.codehaus.groovy.vmplugin.v7.Selector$MethodSelector.setCallSiteTarget(Selector.java:950) at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:224) at au.com.dius.pact.provider.reporters.AnsiConsoleReporter.reportVerificationForConsumer(AnsiConsoleReporter.groovy:30) at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:228) at au.com.dius.pact.provider.ProviderVerifier$_reportVerificationForConsumer_closure8.doCall(ProviderVerifier.groovy:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1021) at groovy.lang.Closure.call(Closure.java:426) at groovy.lang.Closure.call(Closure.java:442) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2030) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2015) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2056) at org.codehaus.groovy.runtime.dgm$162.doMethodInvoke(Unknown Source) at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:228) at au.com.dius.pact.provider.ProviderVerifier.reportVerificationForConsumer(ProviderVerifier.groovy:63) at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:228) at au.com.dius.pact.provider.ProviderVerifier.runVerificationForConsumer(ProviderVerifier.groovy:57) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1212) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1079) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1021) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1086) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1021) at groovy.lang.Closure.call(Closure.java:426) at groovy.lang.Closure.call(Closure.java:442) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2030) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2015) at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2056) at org.codehaus.groovy.runtime.dgm$162.doMethodInvoke(Unknown Source) at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:228) at au.com.dius.pact.provider.ProviderVerifier.verifyProvider(ProviderVerifier.groovy:47) at org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:228) at au.com.dius.pact.provider.lein.LeinVerifierProxy.verifyProvider(LeinVerifierProxy.groovy:37) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93) at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28) at au.com.dius.pact.provider.lein.verify_provider$verify_providers$fn__1567.invoke(verify_provider.clj:67) at clojure.core$map$fn__4785.invoke(core.clj:2646) at clojure.lang.LazySeq.sval(LazySeq.java:40) at clojure.lang.LazySeq.seq(LazySeq.java:49) at clojure.lang.RT.seq(RT.java:521) at clojure.core$seq__4357.invokeStatic(core.clj:137) at clojure.core$apply.invokeStatic(core.clj:641) at clojure.core$mapcat.invokeStatic(core.clj:2674) at clojure.core$mapcat.doInvoke(core.clj:2674) at clojure.lang.RestFn.invoke(RestFn.java:423) at au.com.dius.pact.provider.lein.verify_provider$verify_providers.invoke(verify_provider.clj:62) at au.com.dius.pact.provider.lein.verify_provider$verify.invoke(verify_provider.clj:76) at leiningen.pact_verify$pact_verify.doInvoke(pact_verify.clj:22) at clojure.lang.RestFn.invoke(RestFn.java:410) at clojure.lang.Var.invoke(Var.java:379) at clojure.lang.AFn.applyToHelper(AFn.java:154) at clojure.lang.Var.applyTo(Var.java:700) at clojure.core$apply.invokeStatic(core.clj:648) at clojure.core$apply.invoke(core.clj:641) at leiningen.core.main$partial_task$fn__5829.doInvoke(main.clj:272) at clojure.lang.RestFn.invoke(RestFn.java:410) at clojure.lang.AFn.applyToHelper(AFn.java:154) at clojure.lang.RestFn.applyTo(RestFn.java:132) at clojure.lang.AFunction$1.doInvoke(AFunction.java:29) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invokeStatic(core.clj:648) at clojure.core$apply.invoke(core.clj:641) at leiningen.core.main$apply_task.invokeStatic(main.clj:322) at leiningen.core.main$apply_task.invoke(main.clj:308) at lein_cprop.plugin$write_env_to_file.invokeStatic(plugin.clj:18) at lein_cprop.plugin$write_env_to_file.invoke(plugin.clj:16) at clojure.lang.Var.invoke(Var.java:394) at clojure.lang.AFn.applyToHelper(AFn.java:165) at clojure.lang.Var.applyTo(Var.java:700) at clojure.core$apply.invokeStatic(core.clj:648) at clojure.core$apply.invoke(core.clj:641) at robert.hooke$compose_hooks$fn__11923.doInvoke(hooke.clj:40) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invokeStatic(core.clj:646) at clojure.core$apply.invoke(core.clj:641) at robert.hooke$run_hooks.invokeStatic(hooke.clj:46) at robert.hooke$run_hooks.invoke(hooke.clj:45) at robert.hooke$prepare_for_hooks$fn__11928$fn__11929.doInvoke(hooke.clj:54) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.lang.AFunction$1.doInvoke(AFunction.java:29) at clojure.lang.RestFn.invoke(RestFn.java:436) at leiningen.with_profile$with_profiles_STAR_.invokeStatic(with_profile.clj:14) at leiningen.with_profile$with_profiles_STAR_.invoke(with_profile.clj:8) at leiningen.with_profile$apply_task_with_profiles.invokeStatic(with_profile.clj:53) at leiningen.with_profile$apply_task_with_profiles.invoke(with_profile.clj:45) at leiningen.with_profile$with_profile$fn__11982.invoke(with_profile.clj:85) at clojure.core$mapv$fn__6953.invoke(core.clj:6627) at clojure.core.protocols$fn__6755.invokeStatic(protocols.clj:167) at clojure.core.protocols$fn__6755.invoke(protocols.clj:124) at clojure.core.protocols$fn__6710$G__6705__6719.invoke(protocols.clj:19) at clojure.core.protocols$seq_reduce.invokeStatic(protocols.clj:31) at clojure.core.protocols$fn__6738.invokeStatic(protocols.clj:75) at clojure.core.protocols$fn__6738.invoke(protocols.clj:75) at clojure.core.protocols$fn__6684$G__6679__6697.invoke(protocols.clj:13) at clojure.core$reduce.invokeStatic(core.clj:6545) at clojure.core$mapv.invokeStatic(core.clj:6618) at clojure.core$mapv.invoke(core.clj:6618) at leiningen.with_profile$with_profile.invokeStatic(with_profile.clj:85) at leiningen.with_profile$with_profile.doInvoke(with_profile.clj:63) at clojure.lang.RestFn.invoke(RestFn.java:445) at clojure.lang.Var.invoke(Var.java:388) at clojure.lang.AFn.applyToHelper(AFn.java:160) at clojure.lang.Var.applyTo(Var.java:700) at clojure.core$apply.invokeStatic(core.clj:648) at clojure.core$apply.invoke(core.clj:641) at leiningen.core.main$partial_task$fn__5829.doInvoke(main.clj:272) at clojure.lang.RestFn.applyTo(RestFn.java:139) at clojure.lang.AFunction$1.doInvoke(AFunction.java:29) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invokeStatic(core.clj:648) at clojure.core$apply.invoke(core.clj:641) at leiningen.core.main$apply_task.invokeStatic(main.clj:322) at leiningen.core.main$apply_task.invoke(main.clj:308) at lein_cprop.plugin$write_env_to_file.invokeStatic(plugin.clj:18) at lein_cprop.plugin$write_env_to_file.invoke(plugin.clj:16) at clojure.lang.Var.invoke(Var.java:394) at clojure.lang.AFn.applyToHelper(AFn.java:165) at clojure.lang.Var.applyTo(Var.java:700) at clojure.core$apply.invokeStatic(core.clj:648) at clojure.core$apply.invoke(core.clj:641) at robert.hooke$compose_hooks$fn__11923.doInvoke(hooke.clj:40) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invokeStatic(core.clj:646) at clojure.core$apply.invoke(core.clj:641) at robert.hooke$run_hooks.invokeStatic(hooke.clj:46) at robert.hooke$run_hooks.invoke(hooke.clj:45) at robert.hooke$prepare_for_hooks$fn__11928$fn__11929.doInvoke(hooke.clj:54) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.lang.AFunction$1.doInvoke(AFunction.java:29) at clojure.lang.RestFn.invoke(RestFn.java:436) at leiningen.core.main$resolve_and_apply.invokeStatic(main.clj:328) at leiningen.core.main$resolve_and_apply.invoke(main.clj:324) at leiningen.core.main$_main$fn__5895.invoke(main.clj:401) at leiningen.core.main$_main.invokeStatic(main.clj:394) at leiningen.core.main$_main.doInvoke(main.clj:391) at clojure.lang.RestFn.invoke(RestFn.java:436) at clojure.lang.Var.invoke(Var.java:388) at clojure.lang.AFn.applyToHelper(AFn.java:160) at clojure.lang.Var.applyTo(Var.java:700) at clojure.core$apply.invokeStatic(core.clj:646) at clojure.main$main_opt.invokeStatic(main.clj:314) at clojure.main$main_opt.invoke(main.clj:310) at clojure.main$main.invokeStatic(main.clj:421) at clojure.main$main.doInvoke(main.clj:384) at clojure.lang.RestFn.invoke(RestFn.java:482) at clojure.lang.Var.invoke(Var.java:401) at clojure.lang.AFn.applyToHelper(AFn.java:171) at clojure.lang.Var.applyTo(Var.java:700) at clojure.main.main(main.java:37)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,