ring-clojure / ring

Clojure HTTP server abstraction
MIT License
3.77k stars 520 forks source link

CompilerException when running `lein ring server-headless` #361

Closed adeel closed 5 years ago

adeel commented 5 years ago

I just installed Leiningen and attempted to create a Compojure app. Here is what I did:

$ brew install leiningen
$ lein new compojure myapp
$ cd myapp
$ lein ring server-headless

And here's the result of the last command: https://gist.github.com/adeel/ba01e1ca611b4ea455b94628ac09bbd4 Same thing with lein ring. Before this I also tried using the install script here. Am I doing something wrong? It's been a while since I've last used Clojure, so I'm sure that's probably the case.

I guess this is an issue with Ring which is why I posted here, but I can repost at the Compojure repository if necessary.

weavejester commented 5 years ago

It's not an issue with Ring, or Compojure, but one with the Compojure template. Update your Lein-Ring plugin to 0.12.5, or re-run lein new compojure myapp - the template should now be updated.

adeel commented 5 years ago

Cool, thanks for the quick fix!