mpenet / jet

[not maintained, use at own risk] Jetty9 ring server adapter with WebSocket support via core.async and Jetty9 based HTTP & WebSocket clients (jvm based, no cljs)
http://mpenet.github.io/jet/
167 stars 19 forks source link

class not found at start #26

Closed sihingkk closed 9 years ago

sihingkk commented 9 years ago

I'm getting following error on "lein run":

Exception in thread "main" java.lang.ClassNotFoundException: qbits.jet.server, compiling:(jetty_9/core.clj:14:3)

here is the code: https://github.com/sihingkk/clojure-jetty-9

mpenet commented 9 years ago

There are a few errors in your example: main should be -main, the arguments of the main function should be [& args], but more importantly you need to require the qbits.jet.server namespace.

sihingkk commented 9 years ago

many thanks for answer