Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

java.io.File cannot be cast to java.lang.String #4

Closed
exupero opened this Issue · 2 comments

3 participants

@exupero

When running the example code, I get the following error:

java.lang.ClassCastException: java.io.File cannot be cast to java.lang.String
        at clojure.core$format.doInvoke(core.clj:5178)
        at clojure.lang.RestFn.applyTo(RestFn.java:139)
        at clojure.core$apply.invoke(core.clj:619)
        at clojure.core$update_in.doInvoke(core.clj:5587)
        at clojure.lang.RestFn.invoke(RestFn.java:467)
        at leiningen.core.project$profile_scope_target_path.invoke(project.clj:332)
        at leiningen.core.project$init_profiles.doInvoke(project.clj:603)
        at clojure.lang.RestFn.invoke(RestFn.java:425)
        at leiningen.oneoff$oneoff_project.invoke(oneoff.clj:39)
        [...stacktrace truncated...]

I'm using lein 2.3.2.

@iwinux

same here, with Leiningen 2.3.3 on Java 1.7.0_40 OpenJDK 64-Bit Server VM

@mtyaka
Owner

Fixed in 2adbe9c. Please upgrade to lein-oneoff 0.3.1.

@mtyaka mtyaka closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.