1

When i try to create new project in 'clojure' using

lein new hello

it's give Compiler-exception java.lang.RuntimeException.

when i run "lein new hello" this command in Clojur REPL for create new project

i got this massage

[![enter image description here][1]][1]

[1]: https://i.stack.imgur.com/ukrcX.png

user2298562
  • 21
  • 1
  • 6

2 Answers2

2

Without enough information I would guess:

lein new app hello

Charles Merriam
  • 19,908
  • 6
  • 73
  • 83
  • No, I don't think that's a problem: http://i.imgur.com/dHU2MYg.png; it's best we wait until any further clarifications arrive. So far I can only say the dull "works-for-me"ish things. – D-side Sep 26 '15 at 19:42
  • "lein new hello" creates a project on default template and "lein new app hello" creates a project on app template. You can add more templates to automate project creation – JustAnotherCurious Sep 27 '15 at 09:47
1

Well, according to your question update, where you wrote that you enter this text in Clojure REPL and screenshot, the reason you can't create your project is clear. lein is a program. So you need to install Leiningen to your computer according your OS’s install instructions, then make sure that the lein script is actually available in your system PATH and run this command from the console, not from the Clojure REPL.

Rory O'Kane
  • 29,210
  • 11
  • 96
  • 131
JustAnotherCurious
  • 2,208
  • 15
  • 32