This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-06-26
Channels
- # babashka (63)
- # beginners (27)
- # calva (17)
- # cider (1)
- # clojure (23)
- # clojure-europe (6)
- # clojure-norway (4)
- # clojurescript (9)
- # cursive (8)
- # data-oriented-programming (9)
- # data-science (7)
- # fulcro (14)
- # graalvm (3)
- # helix (3)
- # introduce-yourself (1)
- # jobs-discuss (7)
- # membrane (40)
- # missionary (4)
- # off-topic (32)
- # pathom (60)
- # react (6)
- # releases (2)
- # shadow-cljs (4)
I get this exception when I try to run an executable.
Exception in thread "main" java.lang.IllegalArgumentException: No matching field found: reset for class java.io.StringReader
I'm looking at the https://github.com/clj-easy/graal-docs#reflection, which says to put (set! *warn-on-reflection* true)
at the top of my namespaces, but is there anything I can do if the reflection happens in an external dependency rather than within my code?@yosevuk Yes, when this happens in an external dependency you have the following options:
• Make a PR to that dependency and use a fork until the PR was merged
or:
• Use a reflect-config.json
where you put that class
Got it borkdude! I'll try one of those options.