Fork me on GitHub
#luminus
<
2019-07-26
>
doesntmeananything18:07:39

Hi! I'm new to clojure and I'm trying to create a websocket server/client to send and receive text messages. However I'm getting compilation errors when requiring websocket-routes at main handler with reitit ring router: Wrong number of args (0) passed to: clojure.lang.PersistentVector. Do you guys see anything wrong with this code that might cause this?

jumar03:07:59

How do you use websocket-routes? Could you show a full stack trace?

romain11:07:11

Didn't you miss the websocket callback? http://www.luminusweb.net/docs/websockets.html

doesntmeananything10:07:38

Thanks, guys, but strangely enough the issue was in my faulty Java installation. After reinstalling it the program compiled correctly. Appreciate the tips