Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.22.0
-
None
-
None
Description
When a Maven module has a module-info.java that contains a requires static, Surefire throws NoClassDefFoundError when running the tests for that Maven module.
If the dependency is declared only as required (no static), then the tests run fine.
Attached a reproducible project.
Attachments
Attachments
Issue Links
- is duplicated by
-
SUREFIRE-1667 Crash with JPMS "requires static"
- Closed