Fork me on GitHub
#portal
<
2023-01-11
>
dvingo23:01:52

hi - I am trying to get portal setup, when I try (require '[portal.api :as po]) I get:

. Unhandled clojure.lang.Compiler$CompilerException
   Error compiling portal/runtime/jvm/launcher.clj at (1:1)
   #:clojure.error{:phase :compile-syntax-check,
                   :line 1,
                   :column 1,
                   :source "portal/runtime/jvm/launcher.clj"}
                  core.clj: 5892  clojure.core/throw-if
                  core.clj: 5980  clojure.core/load-lib
         

1. Caused by java.lang.Exception
   namespace 'portal.runtime.jvm.server' not found
I'm on jdk 11 & clojure 1.11.1, leiningen with [djblue/portal "0.35.1"]

djblue00:01:21

So there might be a conflicting version of http-kit in your dependencies

dvingo12:01:55

thanks! that looks like the problem here - the project is using http-kit 2.3.x