portkey-cloud / portkey

Live-coding the Cloud
144 stars 7 forks source link

portkey.ouroboros fails to load under boot #36

Closed qq00 closed 6 years ago

qq00 commented 6 years ago

error

boot.repl => (require 'portkey.ouroboros)

results in:

java.lang.IllegalStateException: This class is expected to be loaded by the system classloader.
java.lang.ExceptionInInitializerError: 
clojure.lang.Compiler$CompilerException: java.lang.ExceptionInInitializerError, compiling:
(portkey/ouroboros.clj:173:37)

This is caused by:

https://github.com/portkey-cloud/portkey/blob/master/src/main/clojure/portkey/ouroboros.clj#L173

calling

https://github.com/portkey-cloud/portkey/blob/master/src/main/java/portkey/Agent.java#L8

background info

I'm using [portkey "0.1.0-SNAPSHOT"] in build.boot

porkey was installed via "git clone; lein install"