Fork me on GitHub
Petrus Theron10:06:38

I’m getting this error on build after updating some deps on my Clj/Cljs boot project:

java.lang.ClassNotFoundException: cljs.analyzer
clojure.lang.Compiler$CompilerException: java.lang.ClassNotFoundException: cljs.analyzer, compiling:(reagent/debug.clj:49:12)
Elapsed time: 9.531 sec
I’ve google all I can, upgraded my cljs version to latest, but no dice. Apparently this is related to javax.xml.bind being deprecated, but should supposedly be fixed in latest Cljs 1.10+. Can anyone help?


Hello, I am using secretary with reagent. Everything works for simple routes, without params, but now I am trying to match a route with params and it does not work. My code looks like this:

(defn app-routes []
  (defroute "/" []
    (swap! state/app-state assoc :page :home))

  (defroute "/about" []
    (swap! state/app-state assoc :page :about))
  (defroute "/music/:single" [single]
    (swap! state/app-state assoc :single single)
    (swap! state/app-state assoc :page :music-single))

  (defroute "/music" []
    (swap! state/app-state assoc :page :music)))
In this case music/:single is not triggered when I click a link like Any ideas?

justinlee20:06:11 do you have this hooked up to the html5 history because without that i think you have to use hashtag routes


Oh yeah I did, just erased it from my code sample


delete the last route and see if it matches


it may be matching on /music


Yes it seems to be matching music


But I have my links in music, so…


well just for testing, try it without that route


i would have through it matches the first route declared


but maybe not


think I found the error, it’s actually my history code 😞


but thanks for the pointer, that helped find out the error