Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
PascalSchumacher opened this issue Jul 28, 2019 · 3 comments
Milestone

Comments

@PascalSchumacher
Copy link
Member

PascalSchumacher commented Jul 28, 2019

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

@PascalSchumacher
Copy link
Member Author

PascalSchumacher commented Jul 28, 2019

The hard dependency on OpenTest4J was introduced with this commit: d79423d#diff-4df7ee848542cb94166b422c1c3b05bd

PascalSchumacher added a commit to PascalSchumacher/assertj-core that referenced this issue Jul 28, 2019
@joel-costigliola
Copy link
Member

my bad :(
this is not too serious IMO as people usually have opentest4j in their dependencies but let's try to fix that (if that's possible)

@joel-costigliola
Copy link
Member

AssertJ Core 3.13.1 is released with this fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants