This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-10-09
Channels
- # announcements (5)
- # babashka (1)
- # beginners (116)
- # calva (139)
- # cider (11)
- # clara (2)
- # clj-kondo (13)
- # clojure (247)
- # clojure-dev (18)
- # clojure-europe (5)
- # clojure-france (2)
- # clojure-italy (2)
- # clojure-nl (7)
- # clojure-spec (24)
- # clojure-uk (34)
- # clojurescript (41)
- # cursive (11)
- # data-science (2)
- # datomic (33)
- # emacs (10)
- # events (3)
- # fulcro (134)
- # graphql (9)
- # jackdaw (3)
- # jobs (1)
- # joker (20)
- # kaocha (3)
- # leiningen (7)
- # luminus (2)
- # malli (3)
- # music (1)
- # pedestal (7)
- # re-frame (25)
- # remote-jobs (7)
- # ring (7)
- # shadow-cljs (85)
- # spacemacs (13)
- # testing (2)
- # tools-deps (60)
- # xtdb (11)
- # yada (7)
Hey, could I ask for some troubleshooting help? Has anyone else been having this issue?
######
PROBLEM: Error reading project.clj: Unable to resolve var: clojure.instant/thread-local-utc-date-format in this context
Cursive version: 1.9.0-eap4-2019.2
Intellij version: 2019.2.3 (Community Edition)
Lein version: Leiningen 2.9.1 on Java 1.8.0_102 Java HotSpot(TM) 64-Bit Server VM
Error reading /Users/concerto/cs/landschaften/project.clj
Syntax error compiling var at (fipp/ednize.clj:71:13).
Unable to resolve var: clojure.instant/thread-local-utc-date-format in this context
fipp
is not a direct dependency but per lein deps :tree
is present as a dep even for newly created lein projects.
That specific error has been discussed several places, e.g. here [Cannot load fipp in Java 9 using bootclasspath](https://github.com/brandonbloom/fipp/issues/60), but not in connection to Intellij or Cursive.
I’m able to lein run
and lein repl
(outside of Intellij) successfully. So I suspect the issue is Intellij and/or Cursive.
I noticed this issue after upgrading to Intellij 2019. I did not change any dependencies or settings in my project.clj
between then and the error.
STEPS TO REPRODUCE:
Create a new Lein project:
$ lein new app testapp
Then import to Intellij following Cursive docs instructions ([Cursive: Working with Leiningen](https://cursive-ide.com/userguide/leiningen.html))
e.g. File -> New -> Project From Existing Sources … etc.
Wait until Intellij event log throws the error.I’m no longer seeing auto-import of :local/root
when I change deps.edn…is that an intentional change?
@tony.kay Do you mean that when you modify a deps.edn to add a new :local/root
dep, you don’t see that module added automatically?
I just upgraded to 2019.2 and latest EAP…which “upgraded” the project. Could be that.
there is a known issue that changes in a local dep do not make the cache stale
so you need to force a classpath recalculation in that case
clj -Sforce