Fork me on GitHub

This quite old issue just bit our team, Just wanted to "bump" it

AJ Jaro17:11:55

I’m getting this error message on a deps.edn project when running -main from the Clojure namespace, specifically with an alias configured. class java.lang.Character cannot be cast to class java.lang.String (java.lang.Character and java.lang.String are in module java.base of loader 'bootstrap') However, if I Run with IntelliJ project classpath no error occurs.


Thanks for the issue. Does that error appear in your log? Help | Show log in Finder/Explorer.

AJ Jaro14:11:19

Great question @U0567Q30W! It does and I added it to the issue


@UGMAVSMUM Which version of Cursive are you using?

AJ Jaro12:11:35

@U0567Q30W Built on: 2021-11-14 17:47 Built from: 1.12.0-eap2-21-gb63530cd

Alex Miller (Clojure team)18:11:45

seems unlikely to have anything to do with deps. can you (pst *e) when it happens and figure out where it's coming from?

AJ Jaro20:11:36

@U064X3EF3 This isn’t run from the REPL. This is run as an IntelliJ Run configuration and the server doesn’t even begin to start before failing with this message in the Event Log. This most likely has something to do with Cursive and deps.edn

Alex Miller (Clojure team)20:11:26

that's not a message from tools.deps or the CLI so I'd guess cursive

☝️ 1