Hi, I recently started reading "Clojure for the brave and true" and encountered some problems.
First I wasn't able to install leiningen on my win10 system, so I installed it on my only alternative ans RasPi2. It installed Leiningen 1.7.1. on Java 6 (Openjdk). And Ig got the second problem.
When I wanted to create the first project with
lein new app closure-noob (as in the book).
Shere was quite an difference... the core.clj was not in src, but in src/app and the file was not as in the book. It only contained the namespace and nothing more. To I tried to edit the file und wanted to run it with
Problem: I got the error message, that project.clj did contain an :main. What can I do now?
Help get this topic noticed by sharing it on Twitter, Facebook, or email.
That book is from No Starch Press, so we do handle support questions about their titles.
Here is their page for the book - https://www.nostarch.com/clojure They do have an update
listed on that page, but it doesn't seem to be related to your problem.
Sorry I couldn't be of more help,
O'Reilly Book Support