Fork me on GitHub
#beginners
<
2016-08-26
>
abarylko06:08:10

lein uberjar fails with java.io.IOException: No such file or directory, any help?

surreal.analysis11:08:01

@abarylko the stack trace should have a bit more information, something like

java.io.IOException: No such file or directory, compiling (your-file-here.clj:line-number)

surreal.analysis11:08:42

See here for an example - https://github.com/weavejester/lein-ring/issues/105 -

java.io.IOException: No such file or directory, compiling:(dishes/handler/main.clj:1:5)

abarylko16:08:10

@surreal.analysis Yes it says Compilation failed: java.io.IOException: No such file or directory, compiling:(myfolder/db.clj:1:1)

abarylko16:08:41

And db.clj starts with (ns myfolder.db …

surreal.analysis16:08:34

Would you mind posting the full namespace block?

abarylko16:08:00

Actually I found it… not sure why I had :eval-in-leiningen true in the project

abarylko16:08:39

Now I need to add a main class correct?

surreal.analysis17:08:51

My pleasure. Let me know if you have any other issues