Skip to content

AssertJ 3.13.0 requires OpenTest4J (java.lang.NoClassDefFoundError: org/opentest4j/MultipleFailuresError) #1563

@PascalSchumacher

Description

@PascalSchumacher

If the classpath does not contain OpenTest4J (e.g. you use JUnit 4 instead of JUnit 5) AssertJ 3.13.0 fails with:

java.lang.NoClassDefFoundError: org/opentest4j/MultipleFailuresError

A sample project to reproduce this issue: https://github.com/PascalSchumacher/assertj-3.13.0-requires-junit5-bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions