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
Hi, I am using a Java library (SocketIO) in my kotlin mod for an additional feature. While adding the library and other required libraries to the gradle implementation works in fabric, doing so in Forge with KFF leads to a `java.lang.NoClassDefFoundError' when trying to use the library's classes.
Exception in thread "LiveCheckEgobalego" java.lang.NoClassDefFoundError: io/socket/client/IO$Options
at TRANSFORMER/[email protected]/com.ruslan.growsseth.http.LiveUpdatesConnection.connect(LiveUpdatesConnection.kt:108)
at TRANSFORMER/[email protected]/com.ruslan.growsseth.http.LiveUpdatesConnection.start$lambda$18(LiveUpdatesConnection.kt:324)
at LAYER PLUGIN/kotlin.stdlib/kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30)
[...]
As I have no real workaround for this other than somehow reimplementing SocketIO in my mod, any idea how to fix it?
The text was updated successfully, but these errors were encountered:
Kotlin for forge version: 5.6.0
Minecraft version: 1.21.1
Hi, I am using a Java library (SocketIO) in my kotlin mod for an additional feature. While adding the library and other required libraries to the gradle implementation works in fabric, doing so in Forge with KFF leads to a `java.lang.NoClassDefFoundError' when trying to use the library's classes.
Relevant file in mod repo
Libraries in question (all requirements of the last 2):
Error:
As I have no real workaround for this other than somehow reimplementing SocketIO in my mod, any idea how to fix it?
The text was updated successfully, but these errors were encountered: