Syntax error (IllegalAccessError) compiling at (temporal.clj:324:1).
maacl opened this issue · 3 comments
maacl commented
I get the below when trying to use java-time.
lein try clojure.java-time "0.3.2"
nREPL server started on port 41145 on host 127.0.0.1 - nrepl://127.0.0.1:41145
REPL-y 0.4.3, nREPL 0.6.0
Clojure 1.10.0
OpenJDK 64-Bit Server VM 1.8.0_212-8u212-b03-0ubuntu1.19.04.2-b03
Docs: (doc function-name-here)
(find-doc "part-of-name-here")
Source: (source function-name-here)
Javadoc: (javadoc java-object-or-class-here)
Exit: Control+D or (exit) or (quit)
Results: Stored in vars *1, *2, *3, an exception in *e
user=> (use 'java-time)
Syntax error (IllegalAccessError) compiling at (temporal.clj:324:1).
tried to access field clojure.lang.APersistentVector._hash from class clojure.lang.PersistentUnrolledVector$Card1
Environment:
Ubbuntu 19.04
javac 11.0.3
Leiningen 2.9.1 on Java 1.8.0_212 OpenJDK 64-Bit Server VM
dm3 commented
I haven't seen this before. Looks like multiple versions of Clojure were loaded. Maybe due to lein try? Could you please try a different setup, e.g. setting up a separate project with a project.clj?
maacl commented
I don't get any error when using a separate project.
dm3 commented
Ok. I'll close the issue then.