-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lein ring server throws error due to older version of hiccup #41
Comments
It's not possible to fix this for Ring 1.0. You'll need to wait until Ring 1.1 is released, which will depend on Hiccup 1.0. Until then, use Hiccup 0.3.8, which is the latest stable version. |
I'm hoping to get Ring 1.1 done in a few weeks, so you shouldn't have to wait too long. Also, the only real difference between Ring 0.3.8 and Ring 1.0 are the names of the namespaces. |
I'm running into this issue today with lein-ring 0.6.6 and hiccup 1.0.0 and compojure 1.0.3 and ring-1.1.0. My stacktrace is getting truncated so I can't really see the origin. lein2 ring server-headless ... |
This is a lein-ring issue. I'll release lein-ring 0.7.0 tonight to make it work with Ring 1.1.0. |
Or maybe tomorrow night... :) Until then you should be able to work around it by adding a explicit |
Hmm, we already have that in there. Let me know if I can help debug this. I am using some checkouts/ with lein2. I think there is a phantom reference to old version of hiccup somewhere... but it's not in our code... |
What's the stacktrace for it? You could also try |
And now it's working... In looking through the git log, I had ring-devel 1.1.0 the whole time. I'll let you know if there are more issues. Thanks for your quick response. |
I'm using hiccup-1.0.1-beta1 with Clojure 1.3.0 and compojure 1.0.1
Using hiccup 1.0.1-beta1 with ring handler results in the below error:
This stackoverflow question says, it's because of ring-devel using an older version of hiccup-0.3.7.jar in lib/dev
http://stackoverflow.com/questions/9572150/hiccup-1-0-0-beta1-error
After excluding hiccup in lein-ring:
I'm still getting an error
Can you please fix this issue?
The text was updated successfully, but these errors were encountered: