I found an Issue called CLJ-944
on clojure.org. There you can find a fix for ClassCastException: clojure.lang.PersistentArrayMap cannot be cast to java.lang.Class
issue
The problem is:
that the compiler injects an incorrect cast to
clojure.lang.PersistentHashMap. In this case it should probably be
cast to a clojure.lang.Associative, the highest common interface
having the .containsKey method.
Patch 1 – 0001-Fix-for-CLJ-944.patch
Patch 2 – 0002-Fix-for-CLJ-944.patch
I hope it helps.