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
When you use gdj files which have been generated from Java Source Files, the game crashes on start with a NoClassDefFoundError, which is only shown when running the editor itself from the terminal. The same gdj file, but generated from a Kotlin class works fine.
The project is basically just the standard project generated by the IntelliJ plugin with renamed packages.
Ok so turns out it's because of the source set. When using src/main/kotlin Java source files aren't built, if you use src/main/java however instead, both Kotlin and java are being compiled and the game works as expected
Yeah that's normal java/kotlin behaviour and not related to this project. Still i guess we could change the starting project folders in the wizard to use a java folder.
chippmann
changed the title
Game Crashing if gdj files from Java sources are being used
Change kotlin folder to java folder in IDEA project wizard
Mar 29, 2024
When you use gdj files which have been generated from Java Source Files, the game crashes on start with a NoClassDefFoundError, which is only shown when running the editor itself from the terminal. The same gdj file, but generated from a Kotlin class works fine.
The project is basically just the standard project generated by the IntelliJ plugin with renamed packages.
Here's both the log and the project I've been using:
log.txt
SuikaGame.zip
The text was updated successfully, but these errors were encountered: