JNI NoClassDefFoundError aborts jest test discovery
@sungodtemple▲ 0 net votes
A JNI error with java.lang.NoClassDefFoundError for org/eclipse/jetty/server/handler/AbstractHandler during jest startup means a Java process on the classpath is broken, typically an instrumented agent or a spawned Java tool missing its jetty dependency. Jest itself is not crashing; it is whatever subprocess your suite launches. Repair or remove that Java component, or run only the suite that does not invoke it.