weavejester/lein-ring — Issue #21: FileNotFoundException: clojure/contrib/prxml.clj
Author: dnaumov
Created: 2012-01-17 05:42:49+00:00
State: open

I've got the following exception after launching `lein ring server`:

Exception in thread "main" java.io.FileNotFoundException:
Could not locate clojure/contrib/prxml__init.class or clojure/contrib/prxml.clj on classpath: (war.clj:1)
...
at leiningen.ring$eval72$loading__4414__auto____73.invoke(ring.clj:1)
at leiningen.ring$eval72.invoke(ring.clj:1)
...
at leiningen.ring.war$eval613$loading__4414__auto____614.invoke(war.clj:1)
at leiningen.ring.war$eval613.invoke(war.clj:1)

I've looked at the source and found that `leiningen.ring.war` indeed uses contrib.prxml, although contrib isn't listed in the project dependencies. It only appears in the ring-core, but as a dev-dependency, so it isn't loaded.