hiccup/page not found?
exupero opened this issue · comments
When I require [noir.cljs.core]
in server.clj (as per the README) and do lein run
, I get
java.io.FileNotFoundException: Could not locate hiccup/page__init.class or hiccup/page.clj on classpath
After running lein deps
, hiccup-0.3.6.jar is in the lib directory.
When I add [hiccup "1.0.0-RC2"]
to the project dependencies, I get a different error:
java.io.FileNotFoundException: Could not locate hiccup/page_helpers__init.class or hiccup/page_helpers.clj on classpath
Which is understandable since hiccup.page-helpers
appears to have become hiccup.page
between versions 0.3.8 and 1.0.0-RC2. I'm using Noir 1.2.2.
This could easily be a versioning issue, but I haven't been able to track down a solution. Any suggestions?
I had to use Noir 1.3.0-beta2 in the dependencies list and change hiccup.page-helpers
to hiccup.page
in the template files automatically added to the project by lein.
Could be lein-ring. Earlier versions of lein-ring (pre 0.7.0) depended on a version of hiccup that expected the page_helpers stuff, but I was using hiccup 1.0.0.