(defproject pedestal-todo-list "0.0.1-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.10.1"]
[io.pedestal/pedestal.service "0.5.8"]
;; Remove this line and uncomment one of the next lines to
;; use Immutant or Tomcat instead of Jetty:
[io.pedestal/pedestal.jetty "0.5.8"]
;; [io.pedestal/pedestal.immutant "0.5.8"]
;; [io.pedestal/pedestal.tomcat "0.5.8"]
[ch.qos.logback/logback-classic "1.2.3" :exclusions [org.slf4j/slf4j-api]]
[org.slf4j/jul-to-slf4j "1.7.26"]
[org.slf4j/jcl-over-slf4j "1.7.26"]
[org.slf4j/log4j-over-slf4j "1.7.26"]]
:min-lein-version "2.0.0"
:resource-paths ["config", "resources"]
;; If you use HTTP/2 or ALPN, use the java-agent to pull in the correct alpn-boot dependency
;:java-agents [[org.mortbay.jetty.alpn/jetty-alpn-agent "2.0.5"]]
:profiles {:dev {:aliases {"run-dev" ["trampoline" "run" "-m" "pedestal-todo-list.server/run-dev"]}
:dependencies [[midje "1.7.0"]
[io.pedestal/pedestal.service-tools "0.5.8"]]
:plugins [[lein-midje "3.2.2"]]}
:uberjar {:aot [pedestal-todo-list.server]}}
:main ^{:skip-aot true} pedestal-todo-list.server)
When I try to run lein midje I get a big error:
➜ pedestal-todo-list lein midje
:repositories detected in user-level profiles! [:user]
See https://github.com/technomancy/leiningen/wiki/Repeatability
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.clojure.core, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.config, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.emission.levels, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.util.pile, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.repl, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.emission.api, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.emission.plugins.util, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.emission.plugins.default-failure-lines, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.parsing.util.core, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.data.nested-facts, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.parsing.1-to-explicit-form.metadata, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.parsing.util.recognizing, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.sweet, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.doc, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.checking.checkables, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.checking.core, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.data.prerequisite-state, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.parsing.2-to-lexical-maps.fakes, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.parsing.util.fnref, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.parsing.util.error-handling, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.parsing.lexical-maps, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.parsing.3-from-lexical-maps.from-fake-maps, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.checkers, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.checking.checkers.chatty, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.checking.checkers.util, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.checking.checkers.simple, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.checking.checkers.collection, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.checking.checkers.collection-util, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.checking.checkers.collection-comparison, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.util.laziness, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.parsing.1-to-explicit-form.parse-background, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.parsing.2-to-lexical-maps.data-fakes, being replaced by: #'midje.clojure.core/any?
WARNING: any? already refers to: #'clojure.core/any? in namespace: midje.parsing.2-to-lexical-maps.expects, being replaced by: #'midje.clojure.core/any?
Syntax error macroexpanding clojure.core/fn at (clojure/core/unify.clj:82:18).
clojure.core.unify/var-unify - failed: vector? at: [:fn-tail :arity-1 :params] spec: :clojure.core.specs.alpha/param-list
clojure.core.unify/var-unify - failed: (or (nil? %) (sequential? %)) at: [:fn-tail :arity-n] spec: :clojure.core.specs.alpha/params+body
Full report at:
/var/folders/jf/s6ny_th13zdcf3sf31svvbdh0000gn/T/clojure-4617028869164840156.edn
Subprocess failed (exit code: 1)
The content of /var/folders/jf/s6ny_th13zdcf3sf31svvbdh0000gn/T/clojure-4617028869164840156.edn is:
I'm using the most recent versions of midje(1.7.0) and lein-midje (3.2.2).
sample project: https://github.com/lipemorais/pedestal-todo-list
All the configuration are inside my
project.clj
:When I try to run
lein midje
I get a big error:The content of
/var/folders/jf/s6ny_th13zdcf3sf31svvbdh0000gn/T/clojure-4617028869164840156.edn
is: