Skip to content

0.11.0 fails with java.lang.NoClassDefFoundError: org/junit/jupiter/params/provider/ArgumentsSource #745

@yschimke

Description

@yschimke

Gradle build failing on test compile

See square/okhttp#8947

Build https://github.com/square/okhttp/actions/runs/16386453920/job/46306645418?pr=8947

full error

Error: Feature defined by org.graalvm.junit.platform.JUnitPlatformFeature unexpectedly failed with a(n) java.lang.NoClassDefFoundError. Please report this problem to the authors of org.graalvm.junit.platform.JUnitPlatformFeature.
Caused by: java.lang.NoClassDefFoundError: org/junit/jupiter/params/provider/ArgumentsSource
	at org.graalvm.junit.platform.config.jupiter.JupiterConfigProvider.onTestClassRegistered(JupiterConfigProvider.java:81)
	at org.graalvm.junit.platform.JUnitPlatformFeature.lambda$registerTestClassesForReflection$2(JUnitPlatformFeature.java:161)
	at org.graalvm.junit.platform.JUnitPlatformFeature.forEachProvider(JUnitPlatformFeature.java:179)
	at org.graalvm.junit.platform.JUnitPlatformFeature.lambda$registerTestClassesForReflection$3(JUnitPlatformFeature.java:161)
	at org.graalvm.junit.platform.TestClassRegistrar.registerTestClassForReflection(TestClassRegistrar.java:62)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:215)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:215)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions