-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Websockets instructions do not work #244
Comments
The dependencies in the examples are somewhat out of date and won't work with JDK 9+. I'll take a look at updating them. |
Out of curiosity, what problems did you run into when following the instructions, that might be a separate issue. |
I've updated the HTTP Kit example, let me know if it works for you. |
Thanks a lot for your help! When following the code examples, I got cryptic arity errors, and after some searching they seemed to point at an issue in transit-cljs: cognitect/transit-cljs#49 I was really not sure how to proceed from there, so I decided to completely reinstall my JDK and... things worked. 🤦♂️ Whatever it was, it originated from my borked java installation. Your HTTP-kit example now compiles and works just fine. Thanks again for your help. It's a bit overwhelming to be trying to figure stuff out on my own, so any input is always extremely valuable. |
No problem, and glad everything's working. |
Hi!
I'm new to clojure web development and I have followed all the instructions from the guide trying to create a websocket client/server. However, doing this in an existing project results in compilation errors. I have also checked the examples linked (both immutant and http-kit versions), and I can't
lein run
them either. Am I doing something terribly wrong, or is the code and examples indeed no longer work?Thanks.
The text was updated successfully, but these errors were encountered: