I had this error in my client app that uses compojure-api. The cause of this problem is that I put the static assets routing configuration in the wrong place. We put (route/resources "/") inside defapi which is a place for api routing configurations. So to fix this, we create a defroutes for static assets routing config and merge this defroutes with defapi before giving it to webserver as a ring handler. At the end, the code look something like this.
(:require [compojure.api.sweet :refer [defapi]]
[compojure.core :refer [defroutes routes]]
[compojure.route :as route]))
(defn handler 
(route site app))
(.getInputArguments (java.lang.management.ManagementFactory/getRuntimeMXBean)) Credit: How to get vm arguments from inside of java applic...
Formatting Run this command in shell sudo cpan JSON::XS Put this line to ~/.vimrc map <leader> jt <Esc> : %! json_xs -f json ...
This error message from chef is not very useful FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit ...
Print some ANSI characters (print (str (char 27) "[2J")) ; clear screen (print (str (char 27) "[;H")) ; move cursor to...