The routes macro will combine all the routes into a single set from which thefinal handler can be created. Be aware that routes can mask other routes.Since our app-routes contains (route/not-found “Not Found”),we should put it last, orthe not-found route will prevent any routes defined after it from resolving.

从 Chapter 2. Clojure Web Stack of Web Development with Clojure

一书中看到了如上提示,于是知道了为什么我的route没有办法访问。

route是可以mask的,前面定义的route会mask掉后面的,所以如果需要一个route的话把它定义到route/not-found之前即可。