weavejester/lein-ring — Issue #24: Could not locate ring/util/servlet__init.class or ring/util/servlet.clj on classpath
Author: pallix
Created: 2012-02-17 11:18:58+00:00
State: open

When building a WAR with "lein ring uberwar" and if ring-servlet is only in the lib/dev directory but not in the lib directory, ring-servlet is not added to the WAR.

When deploying the WAR, for instance on Jetty, one get the following error:

"Could not locate ring/util/servlet__init.class or ring/util/servlet.clj on classpath".

A temporary work around is to explicitly adds [ring/ring-servlet "1.0.1"] to the list of dependencies in the project.clj.