Fork me on GitHub
#graalvm
<
2022-01-13
>
emccue00:01:01

That was the hint i needed to run with the agent that generated reflection info

emccue00:01:27

Exception in thread "main" java.lang.ExceptionInInitializerError
	at clojure.lang.Namespace.<init>(Namespace.java:34)
	at clojure.lang.Namespace.findOrCreate(Namespace.java:176)
	at clojure.lang.Var.internPrivate(Var.java:156)
	at dev.mccue.jproject.core.<clinit>(Unknown Source)
Caused by: java.io.FileNotFoundException: Could not locate clojure/core__init.class, clojure/core.clj or clojure/core.cljc on classpath.
	at clojure.lang.RT.load(RT.java:462)
	at clojure.lang.RT.load(RT.java:424)
	at clojure.lang.RT.<clinit>(RT.java:338)
	... 4 more

emccue00:01:57

and that got me to this next error, but thats progress so im happy about it

emccue00:01:38

I’m (basically) just wrapping borkdude/deps.clj

borkdude07:01:24

@emccue you need to use --initialize-at-build-time. See https://github.com/clj-easy/graal-build-time