You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The title pretty much says it all. When modules are enabled, imgui.static.ForwardDeclarationsKt can not be loaded and an NoClassDefFoundError exception is thrown.
Relevant stack trace:
java.lang.NoClassDefFoundError: imgui/static/ForwardDeclarationsKt
at com.github.kotlin_graphics.imgui.core/imgui.classes.IO.<init>(IO.kt:136)
at com.github.kotlin_graphics.imgui.core/imgui.classes.Context.<init>(Context.kt:34)
at com.github.kotlin_graphics.imgui.core/imgui.classes.Context.<init>(Context.kt:27)
at com.github.kotlin_graphics.imgui.core/imgui.classes.Context.<init>(Context.kt)
Modules are giving me so much troubles I think I'm gonna disable them for the moment until everything mature a little more (Gradle + Java-Kotlin mixed project + JPMS)
Thanks for the quick response!
Yes... modules are a pain in this sorts of environments. I share your pain.
Also if anyone else is reading this and the issue is not resolved by then, exception goes away when modules are disabled on the client (my) side so that is a solution if anyone else is in a pinch.
The title pretty much says it all. When modules are enabled, imgui.static.ForwardDeclarationsKt can not be loaded and an NoClassDefFoundError exception is thrown.
Relevant stack trace:
I am using java OpenJDK 17.0.1 and maven.
To produce the error all that is needed is
and modules file
I'm no modules expert but it looks like the imgui.static is not being exported in the core and that might be causing the issue.
The text was updated successfully, but these errors were encountered: