java.lang.IllegalArgumentException: Call to clojure.core/ns did not conform to spec: In: [3 0] val: import fails spec: :clojure.core.specs/ns-refer-clojure at: [:args :clauses :refer-clojure :clause] predicate: #{:refer-clojure} In: [3 0] val: import fails spec: :clojure.core.specs/ns-require at: [:args :clauses :require :clause] predicate: #{:require} In: [3 0] val: import fails spec: :clojure.core.specs/ns-import at: [:args :clauses :import :clause] predicate: #{:import} In: [3 0] val: import fails spec: :clojure.core.specs/ns-use at: [:args :clauses :use :clause] predicate: #{:use} In: [3 0] val: import fails spec: :clojure.core.specs/ns-refer at: [:args :clauses :refer :clause] predicate: #{:refer} In: [3 0] val: import fails spec: :clojure.core.specs/ns-load at: [:args :clauses :load :clause] predicate: #{:load} In: [3 0] val: import fails spec: :clojure.core.specs/ns-gen-class at: [:args :clauses :gen-class :clause] predicate: #{:gen-class} :clojure.spec/args (cljsbuild.crossover (:use [clojure.java.io :only [as-url resource]]) (:require [cljsbuild.util :as util] [clojure.string :as string] [fs.core :as fs]) (import java.io.File java.net.URLDecoder)) , compiling:(cljsbuild/crossover.clj:1:1)

Google Groups | Alex Miller | 7 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

    [ANN] Clojure 1.9.0-alpha11

    Google Groups | 7 months ago | Alex Miller
    java.lang.IllegalArgumentException: Call to clojure.core/ns did not conform to spec: In: [3 0] val: import fails spec: :clojure.core.specs/ns-refer-clojure at: [:args :clauses :refer-clojure :clause] predicate: #{:refer-clojure} In: [3 0] val: import fails spec: :clojure.core.specs/ns-require at: [:args :clauses :require :clause] predicate: #{:require} In: [3 0] val: import fails spec: :clojure.core.specs/ns-import at: [:args :clauses :import :clause] predicate: #{:import} In: [3 0] val: import fails spec: :clojure.core.specs/ns-use at: [:args :clauses :use :clause] predicate: #{:use} In: [3 0] val: import fails spec: :clojure.core.specs/ns-refer at: [:args :clauses :refer :clause] predicate: #{:refer} In: [3 0] val: import fails spec: :clojure.core.specs/ns-load at: [:args :clauses :load :clause] predicate: #{:load} In: [3 0] val: import fails spec: :clojure.core.specs/ns-gen-class at: [:args :clauses :gen-class :clause] predicate: #{:gen-class} :clojure.spec/args (cljsbuild.crossover (:use [clojure.java.io :only [as-url resource]]) (:require [cljsbuild.util :as util] [clojure.string :as string] [fs.core :as fs]) (import java.io.File java.net.URLDecoder)) , compiling:(cljsbuild/crossover.clj:1:1)
  2. 0

    Clojure 1.9.0-alpha11 breaks `lein prod-build`

    GitHub | 7 months ago | KeatonDunsford
    java.lang.IllegalArgumentException: Call to clojure.core/ns did not conform to spec: In: [3 0] val: import fails spec: :clojure.core.specs/ns-refer-clojure at: [:args :clauses :refer-clojure :clause] predicate: #{:refer-clojure} In: [3 0] val: import fails spec: :clojure.core.specs/ns-require at: [:args :clauses :require :clause] predicate: #{:require} In: [3 0] val: import fails spec: :clojure.core.specs/ns-import at: [:args :clauses :import :clause] predicate: #{:import} In: [3 0] val: import fails spec: :clojure.core.specs/ns-use at: [:args :clauses :use :clause] predicate: #{:use} In: [3 0] val: import fails spec: :clojure.core.specs/ns-refer at: [:args :clauses :refer :clause] predicate: #{:refer} In: [3 0] val: import fails spec: :clojure.core.specs/ns-load at: [:args :clauses :load :clause] predicate: #{:load} In: [3 0] val: import fails spec: :clojure.core.specs/ns-gen-class at: [:args :clauses :gen-class :clause] predicate: #{:gen-class} :clojure.spec/args (cljsbuild.crossover (:use [clojure.java.io :only [as-url resource]]) (:require [cljsbuild.util :as util] [clojure.string :as string] [fs.core :as fs]) (import java.io.File java.net.URLDecoder)) , compiling:(cljsbuild/crossover.clj:1:1)
  3. 0

    lein droid new fails on Windows

    GitHub | 4 years ago | rmoritz
    java.lang.IllegalArgumentException: No implementation of method: :make-reader of protocol: #'clojure.java.io/IOFactory found for class: nil
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problems loading aleph at runtime

    GitHub | 2 years ago | AeroNotix
    java.lang.IllegalArgumentException: Can't define method not in interfaces: with_meta, compiling:(aleph/http/core.clj:81:1)
  6. 0

    clojurescript 0.0-2665 cannot compile austin 0.1.5

    GitHub | 2 years ago | yatesco
    java.lang.IllegalArgumentException: Can't define method not in interfaces: _setup, compiling:(cemerick/austin.clj:315:1)

    2 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.lang.IllegalArgumentException

      Call to clojure.core/ns did not conform to spec: In: [3 0] val: import fails spec: :clojure.core.specs/ns-refer-clojure at: [:args :clauses :refer-clojure :clause] predicate: #{:refer-clojure} In: [3 0] val: import fails spec: :clojure.core.specs/ns-require at: [:args :clauses :require :clause] predicate: #{:require} In: [3 0] val: import fails spec: :clojure.core.specs/ns-import at: [:args :clauses :import :clause] predicate: #{:import} In: [3 0] val: import fails spec: :clojure.core.specs/ns-use at: [:args :clauses :use :clause] predicate: #{:use} In: [3 0] val: import fails spec: :clojure.core.specs/ns-refer at: [:args :clauses :refer :clause] predicate: #{:refer} In: [3 0] val: import fails spec: :clojure.core.specs/ns-load at: [:args :clauses :load :clause] predicate: #{:load} In: [3 0] val: import fails spec: :clojure.core.specs/ns-gen-class at: [:args :clauses :gen-class :clause] predicate: #{:gen-class} :clojure.spec/args (cljsbuild.crossover (:use [clojure.java.io :only [as-url resource]]) (:require [cljsbuild.util :as util] [clojure.string :as string] [fs.core :as fs]) (import java.io.File java.net.URLDecoder))

      at clojure.spec$macroexpand_check.invokeStatic()
    2. Clojure
      RestFn.invoke
      1. clojure.spec$macroexpand_check.invokeStatic(spec.clj:627)
      2. clojure.spec$macroexpand_check.invoke(spec.clj:616)
      3. clojure.lang.AFn.applyToHelper(AFn.java:156)
      4. clojure.lang.AFn.applyTo(AFn.java:144)
      5. clojure.lang.Var.applyTo(Var.java:700)
      6. clojure.lang.Compiler.macroexpand1(Compiler.java:6789)
      7. clojure.lang.Compiler.macroexpand(Compiler.java:6861)
      8. clojure.lang.Compiler.eval(Compiler.java:6935)
      9. clojure.lang.Compiler.load(Compiler.java:7403)
      10. clojure.lang.RT.loadResourceScript(RT.java:374)
      11. clojure.lang.RT.loadResourceScript(RT.java:365)
      12. clojure.lang.RT.load(RT.java:455)
      13. clojure.lang.RT.load(RT.java:421)
      14. clojure.core$load$fn__7645.invoke(core.clj:6008)
      15. clojure.core$load.invokeStatic(core.clj:6007)
      16. clojure.core$load.doInvoke(core.clj:5991)
      17. clojure.lang.RestFn.invoke(RestFn.java:408)
      18. clojure.core$load_one.invokeStatic(core.clj:5812)
      19. clojure.core$load_one.invoke(core.clj:5807)
      20. clojure.core$load_lib$fn__7590.invoke(core.clj:5852)
      21. clojure.core$load_lib.invokeStatic(core.clj:5851)
      22. clojure.core$load_lib.doInvoke(core.clj:5832)
      23. clojure.lang.RestFn.applyTo(RestFn.java:142)
      24. clojure.core$apply.invokeStatic(core.clj:659)
      25. clojure.core$load_libs.invokeStatic(core.clj:5889)
      26. clojure.core$load_libs.doInvoke(core.clj:5873)
      27. clojure.lang.RestFn.applyTo(RestFn.java:137)
      28. clojure.core$apply.invokeStatic(core.clj:659)
      29. clojure.core$require.invokeStatic(core.clj:5911)
      30. clojure.core$require.doInvoke(core.clj:5911)
      31. clojure.lang.RestFn.invoke(RestFn.java:436)
      31 frames
    3. Unknown
      user$eval15.invoke
      1. user$eval15.invokeStatic(form-init1217511081856523183.clj:1)
      2. user$eval15.invoke(form-init1217511081856523183.clj:1)
      2 frames
    4. Clojure
      main.main
      1. clojure.lang.Compiler.eval(Compiler.java:6951)
      2. clojure.lang.Compiler.eval(Compiler.java:6940)
      3. clojure.lang.Compiler.load(Compiler.java:7403)
      4. clojure.lang.Compiler.loadFile(Compiler.java:7341)
      5. clojure.main$load_script.invokeStatic(main.clj:276)
      6. clojure.main$init_opt.invokeStatic(main.clj:278)
      7. clojure.main$init_opt.invoke(main.clj:278)
      8. clojure.main$initialize.invokeStatic(main.clj:309)
      9. clojure.main$null_opt.invokeStatic(main.clj:343)
      10. clojure.main$null_opt.invoke(main.clj:340)
      11. clojure.main$main.invokeStatic(main.clj:422)
      12. clojure.main$main.doInvoke(main.clj:385)
      13. clojure.lang.RestFn.applyTo(RestFn.java:137)
      14. clojure.lang.Var.applyTo(Var.java:700)
      15. clojure.main.main(main.java:37)
      15 frames