venantius / ultra

A Leiningen plugin for a superior development environment
Eclipse Public License 1.0
1.24k stars 35 forks source link

compatibility with leiningen 2.9.0 #103

Closed minhtuannguyen closed 5 years ago

minhtuannguyen commented 5 years ago

Using ultra(0.5.4) in combination with the leiningen version 2.9.0, I get the following exception:

    Caused by: java.lang.RuntimeException: Unable to resolve var: clojure.instant/thread-local-utc-date-format in this context
    ....
    fipp.visit$eval3333$loading__6706__auto____3334.invoke (visit.cljc:1)
    fipp.visit$eval3333.invokeStatic (visit.cljc:1)
    fipp.visit$eval3333.invoke (visit.cljc:1)
    ...
    puget.printer$eval2467$loading__6706__auto____2468.invoke (printer.clj:1)
    ...
    whidbey.repl$eval2418$loading__6706__auto____2419.invoke (repl.clj:1)
    .....
    ultra.colorscheme$eval1974$loading__6706__auto____1975.invoke (colorscheme.clj:1)

apparently fipp doesn't work well with the new leningen version. Do you have any idea to fix it? Thank you

venantius commented 5 years ago

Given this is an upstream issue I'd recommend filing an issue in that repository.

minhtuannguyen commented 5 years ago

ok, thank you. I see that someone mentions this issue already

cichli commented 5 years ago

I left a comment on the fipp issue with some more detail, but in short you can set the environment variable LEIN_USE_BOOTCLASSPATH to no to work around this.

minhtuannguyen commented 5 years ago

Thank you for your hint!