Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax error (IllegalAccessError) compiling at (temporal.clj:324:1). #37

Closed
maacl opened this issue Jul 8, 2019 · 3 comments
Closed
Labels
community Waiting for community input question

Comments

@maacl
Copy link

maacl commented Jul 8, 2019

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
Copy link
Owner

dm3 commented Aug 2, 2019

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?

@dm3 dm3 added community Waiting for community input question labels Aug 2, 2019
@maacl
Copy link
Author

maacl commented Aug 2, 2019

I don't get any error when using a separate project.

@dm3
Copy link
Owner

dm3 commented Aug 2, 2019

Ok. I'll close the issue then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Waiting for community input question
Projects
None yet
Development

No branches or pull requests

2 participants