java.lang.IllegalArgumentException: Unable to load service: puppetlabs.trapperkeeper.services.webserver.jetty9-service/jetty9-service

JIRA | Reno Reckling | 2 years ago
  1. 0

    Doing this sequence of commands should work but fails: {code} lein new trapperkeeper testp/test cd test <add :aot [puppetlabs.trapperkeeper.main] to the project.clj> lein deps lein uberjar java -jar target/test-0.1.0-SNAPSHOT-standalone.jar -c test-resources/config.conf -b test-resources/bootstrap.cfg {code} Leads to: {code} Exception in thread "main" java.lang.IllegalArgumentException: Unable to load service: puppetlabs.trapperkeeper.services.webserver.jetty9-service/jetty9-service at puppetlabs.trapperkeeper.bootstrap$resolve_service_BANG_$fn__6144.invoke(bootstrap.clj:47) at puppetlabs.trapperkeeper.bootstrap$resolve_service_BANG_.invoke(bootstrap.clj:44) at puppetlabs.trapperkeeper.bootstrap$parse_bootstrap_config_BANG_$iter__6167__6171$fn__6172.invoke(bootstrap.clj:157) at clojure.lang.LazySeq.sval(LazySeq.java:40) at clojure.lang.LazySeq.seq(LazySeq.java:49) at clojure.lang.Cons.next(Cons.java:39) at clojure.lang.RT.next(RT.java:598) at clojure.core$next.invoke(core.clj:64) at clojure.core$every_QMARK_.invoke(core.clj:2495) at puppetlabs.trapperkeeper.bootstrap$parse_bootstrap_config_BANG_.invoke(bootstrap.clj:151) at puppetlabs.trapperkeeper.core$boot_with_cli_data.invoke(core.clj:114) at puppetlabs.trapperkeeper.core$run.invoke(core.clj:145) at puppetlabs.trapperkeeper.core$main.doInvoke(core.clj:160) at clojure.lang.RestFn.invoke(RestFn.java:457) 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.invoke(core.clj:624) at puppetlabs.trapperkeeper.main$_main.doInvoke(main.clj:7) at clojure.lang.RestFn.applyTo(RestFn.java:137) at puppetlabs.trapperkeeper.main.main(Unknown Source) Caused by: java.io.FileNotFoundException: Could not locate puppetlabs/trapperkeeper/services/webserver/jetty9_service__init.class or puppetlabs/trapperkeeper/services/webserver/jetty9_service.clj on classpath: at clojure.lang.RT.load(RT.java:443) at clojure.lang.RT.load(RT.java:411) at clojure.core$load$fn__5066.invoke(core.clj:5641) at clojure.core$load.doInvoke(core.clj:5640) at clojure.lang.RestFn.invoke(RestFn.java:408) at clojure.core$load_one.invoke(core.clj:5446) at clojure.core$load_lib$fn__5015.invoke(core.clj:5486) at clojure.core$load_lib.doInvoke(core.clj:5485) at clojure.lang.RestFn.applyTo(RestFn.java:142) at clojure.core$apply.invoke(core.clj:626) at clojure.core$load_libs.doInvoke(core.clj:5524) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invoke(core.clj:626) at clojure.core$require.doInvoke(core.clj:5607) at clojure.lang.RestFn.invoke(RestFn.java:408) at puppetlabs.trapperkeeper.bootstrap$resolve_service_BANG_$fn__6144.invoke(bootstrap.clj:44) ... 20 more {code}

    JIRA | 2 years ago | Reno Reckling
    java.lang.IllegalArgumentException: Unable to load service: puppetlabs.trapperkeeper.services.webserver.jetty9-service/jetty9-service
  2. 0

    Doing this sequence of commands should work but fails: {code} lein new trapperkeeper testp/test cd test <add :aot [puppetlabs.trapperkeeper.main] to the project.clj> lein deps lein uberjar java -jar target/test-0.1.0-SNAPSHOT-standalone.jar -c test-resources/config.conf -b test-resources/bootstrap.cfg {code} Leads to: {code} Exception in thread "main" java.lang.IllegalArgumentException: Unable to load service: puppetlabs.trapperkeeper.services.webserver.jetty9-service/jetty9-service at puppetlabs.trapperkeeper.bootstrap$resolve_service_BANG_$fn__6144.invoke(bootstrap.clj:47) at puppetlabs.trapperkeeper.bootstrap$resolve_service_BANG_.invoke(bootstrap.clj:44) at puppetlabs.trapperkeeper.bootstrap$parse_bootstrap_config_BANG_$iter__6167__6171$fn__6172.invoke(bootstrap.clj:157) at clojure.lang.LazySeq.sval(LazySeq.java:40) at clojure.lang.LazySeq.seq(LazySeq.java:49) at clojure.lang.Cons.next(Cons.java:39) at clojure.lang.RT.next(RT.java:598) at clojure.core$next.invoke(core.clj:64) at clojure.core$every_QMARK_.invoke(core.clj:2495) at puppetlabs.trapperkeeper.bootstrap$parse_bootstrap_config_BANG_.invoke(bootstrap.clj:151) at puppetlabs.trapperkeeper.core$boot_with_cli_data.invoke(core.clj:114) at puppetlabs.trapperkeeper.core$run.invoke(core.clj:145) at puppetlabs.trapperkeeper.core$main.doInvoke(core.clj:160) at clojure.lang.RestFn.invoke(RestFn.java:457) 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.invoke(core.clj:624) at puppetlabs.trapperkeeper.main$_main.doInvoke(main.clj:7) at clojure.lang.RestFn.applyTo(RestFn.java:137) at puppetlabs.trapperkeeper.main.main(Unknown Source) Caused by: java.io.FileNotFoundException: Could not locate puppetlabs/trapperkeeper/services/webserver/jetty9_service__init.class or puppetlabs/trapperkeeper/services/webserver/jetty9_service.clj on classpath: at clojure.lang.RT.load(RT.java:443) at clojure.lang.RT.load(RT.java:411) at clojure.core$load$fn__5066.invoke(core.clj:5641) at clojure.core$load.doInvoke(core.clj:5640) at clojure.lang.RestFn.invoke(RestFn.java:408) at clojure.core$load_one.invoke(core.clj:5446) at clojure.core$load_lib$fn__5015.invoke(core.clj:5486) at clojure.core$load_lib.doInvoke(core.clj:5485) at clojure.lang.RestFn.applyTo(RestFn.java:142) at clojure.core$apply.invoke(core.clj:626) at clojure.core$load_libs.doInvoke(core.clj:5524) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invoke(core.clj:626) at clojure.core$require.doInvoke(core.clj:5607) at clojure.lang.RestFn.invoke(RestFn.java:408) at puppetlabs.trapperkeeper.bootstrap$resolve_service_BANG_$fn__6144.invoke(bootstrap.clj:44) ... 20 more {code}

    JIRA | 2 years ago | Reno Reckling
    java.lang.IllegalArgumentException: Unable to load service: puppetlabs.trapperkeeper.services.webserver.jetty9-service/jetty9-service
  3. 0

    cljx compilationbroken in 0.1.49

    GitHub | 2 years ago | sveri
    java.io.FileNotFoundException: Could not locate cljx/core__init.class or cljx/core.clj on classpath: , compiling:(C:\Users\sveri\.IdeaIC14\system\tmp\form-init4361645874106950598.clj:1:109)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    FileNotFoundException when more than one project uses simple-brepl

    GitHub | 2 years ago | mfikes
    java.io.FileNotFoundException: Could not locate simple_brepl/service__init.class or simple_brepl/service.clj on classpath: , compiling:(/private/var/folders/m0/161fm8fx069fk_fny08nrmkm0000gp/T/form-init1054644403979217911.clj:1:142)
  6. 0

    No such file or directoy

    GitHub | 5 years ago | Lazyshot
    java.io.FileNotFoundException: /Users/nathan/.ssh/storm (No such file or directory) (NO_SOURCE_FILE:1) ........

    4 unregistered visitors
    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.io.FileNotFoundException

      Could not locate puppetlabs/trapperkeeper/services/webserver/jetty9_service__init.class or puppetlabs/trapperkeeper/services/webserver/jetty9_service.clj on classpath:

      at clojure.lang.RT.load()
    2. Clojure
      RestFn.invoke
      1. clojure.lang.RT.load(RT.java:443)
      2. clojure.lang.RT.load(RT.java:411)
      3. clojure.core$load$fn__5066.invoke(core.clj:5641)
      4. clojure.core$load.doInvoke(core.clj:5640)
      5. clojure.lang.RestFn.invoke(RestFn.java:408)
      6. clojure.core$load_one.invoke(core.clj:5446)
      7. clojure.core$load_lib$fn__5015.invoke(core.clj:5486)
      8. clojure.core$load_lib.doInvoke(core.clj:5485)
      9. clojure.lang.RestFn.applyTo(RestFn.java:142)
      10. clojure.core$apply.invoke(core.clj:626)
      11. clojure.core$load_libs.doInvoke(core.clj:5524)
      12. clojure.lang.RestFn.applyTo(RestFn.java:137)
      13. clojure.core$apply.invoke(core.clj:626)
      14. clojure.core$require.doInvoke(core.clj:5607)
      15. clojure.lang.RestFn.invoke(RestFn.java:408)
      15 frames
    3. puppetlabs.trapperkeeper
      bootstrap$parse_bootstrap_config_BANG_$iter__6167__6171$fn__6172.invoke
      1. puppetlabs.trapperkeeper.bootstrap$resolve_service_BANG_$fn__6144.invoke(bootstrap.clj:44)
      2. puppetlabs.trapperkeeper.bootstrap$resolve_service_BANG_.invoke(bootstrap.clj:44)
      3. puppetlabs.trapperkeeper.bootstrap$parse_bootstrap_config_BANG_$iter__6167__6171$fn__6172.invoke(bootstrap.clj:157)
      3 frames
    4. Clojure
      core$every_QMARK_.invoke
      1. clojure.lang.LazySeq.sval(LazySeq.java:40)
      2. clojure.lang.LazySeq.seq(LazySeq.java:49)
      3. clojure.lang.Cons.next(Cons.java:39)
      4. clojure.lang.RT.next(RT.java:598)
      5. clojure.core$next.invoke(core.clj:64)
      6. clojure.core$every_QMARK_.invoke(core.clj:2495)
      6 frames
    5. puppetlabs.trapperkeeper
      core$main.doInvoke
      1. puppetlabs.trapperkeeper.bootstrap$parse_bootstrap_config_BANG_.invoke(bootstrap.clj:151)
      2. puppetlabs.trapperkeeper.core$boot_with_cli_data.invoke(core.clj:114)
      3. puppetlabs.trapperkeeper.core$run.invoke(core.clj:145)
      4. puppetlabs.trapperkeeper.core$main.doInvoke(core.clj:160)
      4 frames
    6. Clojure
      core$apply.invoke
      1. clojure.lang.RestFn.invoke(RestFn.java:457)
      2. clojure.lang.Var.invoke(Var.java:394)
      3. clojure.lang.AFn.applyToHelper(AFn.java:165)
      4. clojure.lang.Var.applyTo(Var.java:700)
      5. clojure.core$apply.invoke(core.clj:624)
      5 frames
    7. puppetlabs.trapperkeeper
      main$_main.doInvoke
      1. puppetlabs.trapperkeeper.main$_main.doInvoke(main.clj:7)
      1 frame
    8. Clojure
      RestFn.applyTo
      1. clojure.lang.RestFn.applyTo(RestFn.java:137)
      1 frame
    9. puppetlabs.trapperkeeper
      main.main
      1. puppetlabs.trapperkeeper.main.main(Unknown Source)
      1 frame