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

GitHub | thegreatape | 9 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

    Error: "no jansi in java.library.path" when running `lein pact-verify`

    GitHub | 9 months ago | thegreatape
    java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no jansi in java.library.path]
  2. 0

    Kotlin Compiler build fail in Raspberrypi2

    Stack Overflow | 1 year ago | Kyungkoo
    java.lang.reflect.InvocationTargetException
  3. 0

    No Jansi support on FreeBSD

    GitHub | 9 months ago | dereckson
    java.lang.reflect.InvocationTargetException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsatisfiedLinkError

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

      at org.fusesource.hawtjni.runtime.Library.doLoad()
    2. SBT
      CLibrary.<clinit>
      1. org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)
      2. org.fusesource.hawtjni.runtime.Library.load(Library.java:140)
      3. org.fusesource.jansi.internal.CLibrary.<clinit>(CLibrary.java:37)
      3 frames
    3. au.com.dius
      AnsiConsole.<clinit>
      1. au.com.dius.pact.provider.org.fusesource.jansi.AnsiConsole.wrapOutputStream(AnsiConsole.java:48)
      2. au.com.dius.pact.provider.org.fusesource.jansi.AnsiConsole.<clinit>(AnsiConsole.java:38)
      2 frames
    4. Java RT
      Class.forName
      1. java.lang.Class.forName0(Native Method)
      2. java.lang.Class.forName(Class.java:348)
      2 frames
    5. Groovy
      IndyInterface.selectMethod
      1. org.codehaus.groovy.vmplugin.v7.Selector$MethodSelector.getMetaClass(Selector.java:531)
      2. org.codehaus.groovy.vmplugin.v7.Selector$MethodSelector.setCallSiteTarget(Selector.java:950)
      3. org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:224)
      3 frames
    6. au.com.dius
      AnsiConsoleReporter.reportVerificationForConsumer
      1. au.com.dius.pact.provider.reporters.AnsiConsoleReporter.reportVerificationForConsumer(AnsiConsoleReporter.groovy:30)
      1 frame
    7. Groovy
      IndyInterface.selectMethod
      1. org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:228)
      1 frame
    8. au.com.dius
      ProviderVerifier$_reportVerificationForConsumer_closure8.doCall
      1. au.com.dius.pact.provider.ProviderVerifier$_reportVerificationForConsumer_closure8.doCall(ProviderVerifier.groovy:63)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    10. Groovy
      IndyInterface.selectMethod
      1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
      2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
      3. org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
      4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1021)
      5. groovy.lang.Closure.call(Closure.java:426)
      6. groovy.lang.Closure.call(Closure.java:442)
      7. org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2030)
      8. org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2015)
      9. org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2056)
      10. org.codehaus.groovy.runtime.dgm$162.doMethodInvoke(Unknown Source)
      11. org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:228)
      11 frames
    11. au.com.dius
      ProviderVerifier.reportVerificationForConsumer
      1. au.com.dius.pact.provider.ProviderVerifier.reportVerificationForConsumer(ProviderVerifier.groovy:63)
      1 frame
    12. Groovy
      IndyInterface.selectMethod
      1. org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:228)
      1 frame
    13. au.com.dius
      ProviderVerifier.runVerificationForConsumer
      1. au.com.dius.pact.provider.ProviderVerifier.runVerificationForConsumer(ProviderVerifier.groovy:57)
      1 frame
    14. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    15. Groovy
      IndyInterface.selectMethod
      1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
      2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
      3. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1212)
      4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1079)
      5. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1021)
      6. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1086)
      7. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1021)
      8. groovy.lang.Closure.call(Closure.java:426)
      9. groovy.lang.Closure.call(Closure.java:442)
      10. org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2030)
      11. org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2015)
      12. org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2056)
      13. org.codehaus.groovy.runtime.dgm$162.doMethodInvoke(Unknown Source)
      14. org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:228)
      14 frames
    16. au.com.dius
      ProviderVerifier.verifyProvider
      1. au.com.dius.pact.provider.ProviderVerifier.verifyProvider(ProviderVerifier.groovy:47)
      1 frame
    17. Groovy
      IndyInterface.selectMethod
      1. org.codehaus.groovy.vmplugin.v7.IndyInterface.selectMethod(IndyInterface.java:228)
      1 frame
    18. au.com.dius
      LeinVerifierProxy.verifyProvider
      1. au.com.dius.pact.provider.lein.LeinVerifierProxy.verifyProvider(LeinVerifierProxy.groovy:37)
      1 frame
    19. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    20. Clojure
      Reflector.invokeInstanceMethod
      1. clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93)
      2. clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28)
      2 frames
    21. au.com.dius
      verify_provider$verify_providers$fn__1567.invoke
      1. au.com.dius.pact.provider.lein.verify_provider$verify_providers$fn__1567.invoke(verify_provider.clj:67)
      1 frame
    22. Clojure
      RestFn.invoke
      1. clojure.core$map$fn__4785.invoke(core.clj:2646)
      2. clojure.lang.LazySeq.sval(LazySeq.java:40)
      3. clojure.lang.LazySeq.seq(LazySeq.java:49)
      4. clojure.lang.RT.seq(RT.java:521)
      5. clojure.core$seq__4357.invokeStatic(core.clj:137)
      6. clojure.core$apply.invokeStatic(core.clj:641)
      7. clojure.core$mapcat.invokeStatic(core.clj:2674)
      8. clojure.core$mapcat.doInvoke(core.clj:2674)
      9. clojure.lang.RestFn.invoke(RestFn.java:423)
      9 frames
    23. au.com.dius
      verify_provider$verify.invoke
      1. au.com.dius.pact.provider.lein.verify_provider$verify_providers.invoke(verify_provider.clj:62)
      2. au.com.dius.pact.provider.lein.verify_provider$verify.invoke(verify_provider.clj:76)
      2 frames
    24. leiningen
      pact_verify$pact_verify.doInvoke
      1. leiningen.pact_verify$pact_verify.doInvoke(pact_verify.clj:22)
      1 frame
    25. Clojure
      core$apply.invoke
      1. clojure.lang.RestFn.invoke(RestFn.java:410)
      2. clojure.lang.Var.invoke(Var.java:379)
      3. clojure.lang.AFn.applyToHelper(AFn.java:154)
      4. clojure.lang.Var.applyTo(Var.java:700)
      5. clojure.core$apply.invokeStatic(core.clj:648)
      6. clojure.core$apply.invoke(core.clj:641)
      6 frames
    26. leiningen.core
      main$partial_task$fn__5829.doInvoke
      1. leiningen.core.main$partial_task$fn__5829.doInvoke(main.clj:272)
      1 frame
    27. Clojure
      core$apply.invoke
      1. clojure.lang.RestFn.invoke(RestFn.java:410)
      2. clojure.lang.AFn.applyToHelper(AFn.java:154)
      3. clojure.lang.RestFn.applyTo(RestFn.java:132)
      4. clojure.lang.AFunction$1.doInvoke(AFunction.java:29)
      5. clojure.lang.RestFn.applyTo(RestFn.java:137)
      6. clojure.core$apply.invokeStatic(core.clj:648)
      7. clojure.core$apply.invoke(core.clj:641)
      7 frames
    28. leiningen.core
      main$apply_task.invoke
      1. leiningen.core.main$apply_task.invokeStatic(main.clj:322)
      2. leiningen.core.main$apply_task.invoke(main.clj:308)
      2 frames
    29. lein_cprop
      plugin$write_env_to_file.invoke
      1. lein_cprop.plugin$write_env_to_file.invokeStatic(plugin.clj:18)
      2. lein_cprop.plugin$write_env_to_file.invoke(plugin.clj:16)
      2 frames
    30. Clojure
      core$apply.invoke
      1. clojure.lang.Var.invoke(Var.java:394)
      2. clojure.lang.AFn.applyToHelper(AFn.java:165)
      3. clojure.lang.Var.applyTo(Var.java:700)
      4. clojure.core$apply.invokeStatic(core.clj:648)
      5. clojure.core$apply.invoke(core.clj:641)
      5 frames
    31. robert
      hooke$compose_hooks$fn__11923.doInvoke
      1. robert.hooke$compose_hooks$fn__11923.doInvoke(hooke.clj:40)
      1 frame
    32. Clojure
      core$apply.invoke
      1. clojure.lang.RestFn.applyTo(RestFn.java:137)
      2. clojure.core$apply.invokeStatic(core.clj:646)
      3. clojure.core$apply.invoke(core.clj:641)
      3 frames
    33. robert
      hooke$prepare_for_hooks$fn__11928$fn__11929.doInvoke
      1. robert.hooke$run_hooks.invokeStatic(hooke.clj:46)
      2. robert.hooke$run_hooks.invoke(hooke.clj:45)
      3. robert.hooke$prepare_for_hooks$fn__11928$fn__11929.doInvoke(hooke.clj:54)
      3 frames
    34. Clojure
      RestFn.invoke
      1. clojure.lang.RestFn.applyTo(RestFn.java:137)
      2. clojure.lang.AFunction$1.doInvoke(AFunction.java:29)
      3. clojure.lang.RestFn.invoke(RestFn.java:436)
      3 frames
    35. leiningen
      with_profile$with_profile$fn__11982.invoke
      1. leiningen.with_profile$with_profiles_STAR_.invokeStatic(with_profile.clj:14)
      2. leiningen.with_profile$with_profiles_STAR_.invoke(with_profile.clj:8)
      3. leiningen.with_profile$apply_task_with_profiles.invokeStatic(with_profile.clj:53)
      4. leiningen.with_profile$apply_task_with_profiles.invoke(with_profile.clj:45)
      5. leiningen.with_profile$with_profile$fn__11982.invoke(with_profile.clj:85)
      5 frames
    36. Clojure
      core$mapv.invoke
      1. clojure.core$mapv$fn__6953.invoke(core.clj:6627)
      2. clojure.core.protocols$fn__6755.invokeStatic(protocols.clj:167)
      3. clojure.core.protocols$fn__6755.invoke(protocols.clj:124)
      4. clojure.core.protocols$fn__6710$G__6705__6719.invoke(protocols.clj:19)
      5. clojure.core.protocols$seq_reduce.invokeStatic(protocols.clj:31)
      6. clojure.core.protocols$fn__6738.invokeStatic(protocols.clj:75)
      7. clojure.core.protocols$fn__6738.invoke(protocols.clj:75)
      8. clojure.core.protocols$fn__6684$G__6679__6697.invoke(protocols.clj:13)
      9. clojure.core$reduce.invokeStatic(core.clj:6545)
      10. clojure.core$mapv.invokeStatic(core.clj:6618)
      11. clojure.core$mapv.invoke(core.clj:6618)
      11 frames
    37. leiningen
      with_profile$with_profile.doInvoke
      1. leiningen.with_profile$with_profile.invokeStatic(with_profile.clj:85)
      2. leiningen.with_profile$with_profile.doInvoke(with_profile.clj:63)
      2 frames
    38. Clojure
      core$apply.invoke
      1. clojure.lang.RestFn.invoke(RestFn.java:445)
      2. clojure.lang.Var.invoke(Var.java:388)
      3. clojure.lang.AFn.applyToHelper(AFn.java:160)
      4. clojure.lang.Var.applyTo(Var.java:700)
      5. clojure.core$apply.invokeStatic(core.clj:648)
      6. clojure.core$apply.invoke(core.clj:641)
      6 frames
    39. leiningen.core
      main$partial_task$fn__5829.doInvoke
      1. leiningen.core.main$partial_task$fn__5829.doInvoke(main.clj:272)
      1 frame
    40. Clojure
      core$apply.invoke
      1. clojure.lang.RestFn.applyTo(RestFn.java:139)
      2. clojure.lang.AFunction$1.doInvoke(AFunction.java:29)
      3. clojure.lang.RestFn.applyTo(RestFn.java:137)
      4. clojure.core$apply.invokeStatic(core.clj:648)
      5. clojure.core$apply.invoke(core.clj:641)
      5 frames
    41. leiningen.core
      main$apply_task.invoke
      1. leiningen.core.main$apply_task.invokeStatic(main.clj:322)
      2. leiningen.core.main$apply_task.invoke(main.clj:308)
      2 frames
    42. lein_cprop
      plugin$write_env_to_file.invoke
      1. lein_cprop.plugin$write_env_to_file.invokeStatic(plugin.clj:18)
      2. lein_cprop.plugin$write_env_to_file.invoke(plugin.clj:16)
      2 frames
    43. Clojure
      core$apply.invoke
      1. clojure.lang.Var.invoke(Var.java:394)
      2. clojure.lang.AFn.applyToHelper(AFn.java:165)
      3. clojure.lang.Var.applyTo(Var.java:700)
      4. clojure.core$apply.invokeStatic(core.clj:648)
      5. clojure.core$apply.invoke(core.clj:641)
      5 frames
    44. robert
      hooke$compose_hooks$fn__11923.doInvoke
      1. robert.hooke$compose_hooks$fn__11923.doInvoke(hooke.clj:40)
      1 frame
    45. Clojure
      core$apply.invoke
      1. clojure.lang.RestFn.applyTo(RestFn.java:137)
      2. clojure.core$apply.invokeStatic(core.clj:646)
      3. clojure.core$apply.invoke(core.clj:641)
      3 frames
    46. robert
      hooke$prepare_for_hooks$fn__11928$fn__11929.doInvoke
      1. robert.hooke$run_hooks.invokeStatic(hooke.clj:46)
      2. robert.hooke$run_hooks.invoke(hooke.clj:45)
      3. robert.hooke$prepare_for_hooks$fn__11928$fn__11929.doInvoke(hooke.clj:54)
      3 frames
    47. Clojure
      RestFn.invoke
      1. clojure.lang.RestFn.applyTo(RestFn.java:137)
      2. clojure.lang.AFunction$1.doInvoke(AFunction.java:29)
      3. clojure.lang.RestFn.invoke(RestFn.java:436)
      3 frames
    48. leiningen.core
      main$_main.doInvoke
      1. leiningen.core.main$resolve_and_apply.invokeStatic(main.clj:328)
      2. leiningen.core.main$resolve_and_apply.invoke(main.clj:324)
      3. leiningen.core.main$_main$fn__5895.invoke(main.clj:401)
      4. leiningen.core.main$_main.invokeStatic(main.clj:394)
      5. leiningen.core.main$_main.doInvoke(main.clj:391)
      5 frames
    49. Clojure
      main.main
      1. clojure.lang.RestFn.invoke(RestFn.java:436)
      2. clojure.lang.Var.invoke(Var.java:388)
      3. clojure.lang.AFn.applyToHelper(AFn.java:160)
      4. clojure.lang.Var.applyTo(Var.java:700)
      5. clojure.core$apply.invokeStatic(core.clj:646)
      6. clojure.main$main_opt.invokeStatic(main.clj:314)
      7. clojure.main$main_opt.invoke(main.clj:310)
      8. clojure.main$main.invokeStatic(main.clj:421)
      9. clojure.main$main.doInvoke(main.clj:384)
      10. clojure.lang.RestFn.invoke(RestFn.java:482)
      11. clojure.lang.Var.invoke(Var.java:401)
      12. clojure.lang.AFn.applyToHelper(AFn.java:171)
      13. clojure.lang.Var.applyTo(Var.java:700)
      14. clojure.main.main(main.java:37)
      14 frames