I have a multi module maven project with a lots of JUnit5 based tests. On the command line everything works fine and all tests are executed.
However IntelliJ behaves like there is not JUnit dependency. All JUnit imports and code usages are marked red:
Any ideas what could be wrong?


