I solved a problem that was a bit of a mistake on my part. Send an answer here if someone makes the same mistake.
In src / routes.clj, I had something like the following:
(defroutes main-routes
(GET "/some/path" [& params] (some-code params))
(route/resources "/")
(route/not-found "not found"))
(def start (run-jetty (handler/site main-routes) {:port 8080}))
webapp lein ring-headless. , , . , - , , uberwar, - , uberwar .
compojure, , , def defn . , :
(defn start [] (run-jetty (handler/site main-routes) {:port 8080}))