I am converting a project to Maven because reasons and I’ve run into an issue I cannot resolve. I have numerous test fixtures in a Kotlin object. When I try to reference the object’s members I get java.lang.NoClassDefFoundError: Could not initialize class a.b.c.FooObject
. This works in intellij and is run without issue in gradle.