Michal Klimczak
01/25/2021, 8:42 AMYev Kanivets
01/25/2021, 12:39 PMkpgalligan
01/25/2021, 2:34 PMnrobi
01/25/2021, 3:34 PMNoClassDefFoundError
at runtime, ./gradlew backend:run
worked on my end.
I’m not sure what’s happening in the background, but my guess is that maybe the module isn’t included in the executable as the IDE can’t resolve it 🤷 (though I don’t have much knowledge around this stuff)Michal Klimczak
01/25/2021, 3:37 PMgradle test
or gradle check
but I will try that again tomorrow. And in your case IDE didn't resolve the classes as well (I mean inside IDE, not when running tests)nrobi
01/25/2021, 3:39 PMJoost Klitsie
01/26/2021, 11:59 AMMichal Klimczak
01/26/2021, 12:11 PMJoris PZ
01/26/2021, 12:12 PMval jvmClass = SomeMultiPlatformClass()
, and it compiled and executed without a problem.
I'm on Windows 10 an IntelliJ IDEA 2020.3.1 (Ultimate Edition). I tried using both an Oracle 1.8 JVM and OpenJDK 11, both worked fine.Yev Kanivets
01/26/2021, 12:12 PMJoris PZ
01/26/2021, 12:15 PMJoost Klitsie
01/26/2021, 12:39 PMMichal Klimczak
01/26/2021, 12:39 PMMichal Klimczak
01/26/2021, 12:40 PMJoost Klitsie
01/26/2021, 12:41 PMJoris PZ
01/26/2021, 12:43 PMMichal Klimczak
01/26/2021, 12:46 PMkpgalligan
01/26/2021, 1:20 PM