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

Closed
exupero opened this Issue Oct 3, 2013 · 2 comments

Comments

Projects
None yet
3 participants
@exupero

exupero commented Oct 3, 2013

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

This comment has been minimized.

Show comment Hide comment
@iwinux

iwinux Oct 25, 2013

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

iwinux commented Oct 25, 2013

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

@mtyaka

This comment has been minimized.

Show comment Hide comment
@mtyaka

mtyaka Jun 22, 2014

Owner

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

Owner

mtyaka commented Jun 22, 2014

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

@mtyaka mtyaka closed this Jun 22, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment