Fork me on GitHub
Chris K00:06:41

Hello, I am trying to run play-clj but keep getting this error:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.lwjgl.LWJGLUtil$3 (file:/home/ck/.m2/repository/org/lwjgl/lwjgl/lwjgl/2.9.2/lwjgl-2.9.2.jar) to method java.lang.ClassLoader.findLibrary(java.lang.String)
WARNING: Please consider reporting this to the maintainers of org.lwjgl.LWJGLUtil$3
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Inconsistency detected by dl-lookup.c: 105: check_match: Assertion `version->filename == NULL || ! _dl_name_match_p (version->filename, map)' failed!
If anyone knows what's going on or how to fix it, it would be great help!


what version of play-clj are you using?


just looking at the deps file for play-clj is showing:

org.lwjgl/lwjgl-glfw {:mvn/version "3.2.3"}


which is a much newer version of lwjgl

Chris K05:06:06

I'm using leiningen but I wasn't really able to find that dependencies although I found similar ones

Chris K05:06:25

:dependencies [[com.badlogicgames.gdx/gdx "1.9.3"]
                 [com.badlogicgames.gdx/gdx-backend-lwjgl "1.9.3"]
                 [com.badlogicgames.gdx/gdx-box2d "1.9.3"]
                 [com.badlogicgames.gdx/gdx-box2d-platform "1.9.3"
                  :classifier "natives-desktop"]
                 [com.badlogicgames.gdx/gdx-bullet "1.9.3"]
                 [com.badlogicgames.gdx/gdx-bullet-platform "1.9.3"
                  :classifier "natives-desktop"]
                 [com.badlogicgames.gdx/gdx-platform "1.9.3"
                  :classifier "natives-desktop"]
                 [org.clojure/clojure "1.7.0"]
                 [play-clj "1.1.1"]]


Which OS are you on? I would check to see if there updated versions

Chris K18:06:06

I am on artix linux but I am using tiling window manager (dwm) so maybe that could cause some problems?

Chris K18:06:02

@U7RJTCH6J Nevermind it was about the java version... 😞 I changed to java8 instead of java11 and it works now Thanks anyhow :thumbsup:

nice 3

hi ! I'm following this example to add the allow origin header with reitit, but it seems not to work for me


You're wrapping the route and you reloaded the namespace?


I added :middleware for the post /api/v1/todo-lists


is it possible to use ring-cors with reitit? i would assume you'd need something from reitit land


i don't know reitit very well ...

👍 3
Clark Urzo07:06:53

Hi, so I'm trying to deploy an app to Heroku by calling shadow-cljs watch app with my Procfile (the $PORT is already being obtained by the app in shadow-cljs.edn ). I know this is really bad practice but I'm just trying to get something to work. The build succeeds but nothing's appearing:

2021-06-06T07:38:23.810868+00:00 app[web.1]: npm ERR! @ dev: `run-p -l *:watch`

2021-06-06T07:38:23.810972+00:00 app[web.1]: npm ERR! spawn ENOENT

2021-06-06T07:38:23.811166+00:00 app[web.1]: npm ERR! 

2021-06-06T07:38:23.811307+00:00 app[web.1]: npm ERR! Failed at the @ dev script.

2021-06-06T07:38:23.811393+00:00 app[web.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

2021-06-06T07:38:23.817637+00:00 app[web.1]: 

2021-06-06T07:38:23.817863+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:

2021-06-06T07:38:23.817910+00:00 app[web.1]: npm ERR!     /app/.npm/_logs/2021-06-06T07_38_23_812Z-debug.log

2021-06-06T07:38:23.894267+00:00 heroku[web.1]: Process exited with status 1

2021-06-06T07:38:23.999991+00:00 heroku[web.1]: State changed from starting to crashed


here is a presentation about how to do it, a sample app that you can clone, and a running version on netlify

Clark Urzo02:06:10

Thank you! Sorry for the late response

Clark Urzo02:06:14

Will try this asap

Clark Urzo07:06:51

Just wanted to deploy a Reagent app without having to set up a server myself


Can I recommend netlify?


or just github pages if it's just static content with some JS


Hi guys, I am trying to generate v1= [0 3 5 12] based on v2=[3 2 7]. The mathemtical formula would be



I feel really noob, but I don't find.


(reductions + 0 [3 2 7])


Thk. There is just a word for it !!!


Hi, I am trying to use an <input> with reagent atom, for some reason adding :value @text seems to prevent the character from appearing


if I remove :value then I can see the chars appear, but it doesn't clear the content as a result of others actions on the ui