Exception in thread "main" java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest, compiling:(ring/middleware/multipart_params.clj:39:5) #83
This is an obsolete repository. Could you repost the issue to the official Ring repo at: https://github.com/ring-clojure/ring ?
Also, when you post the issue to the Ring repository, could you include how you're running the app? Do you get the error when running tests or in the REPL, or when running the main method?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In ring-core 1.2.1, I'm getting this explosion:
At the point in my code where I wrap the app in:
What's baffling to me is that the line cited above in ring-core is the last line of this function:
What that has to do with HttpServletRequest is utterly opaque to me.
Sadly, I haven't been able to isolate it any further, because I have very little understanding of the underlying Java stuff, and no idea what a HttpServletRequest is, why it's in ring, or why it could be exploding.
FWIW, the server I'm using here is aleph, not jetty. If this is a problem with aleph, please let me know and I'll ask Zach about it instead