IntelliJ not recognizing imports from test directory (maven conventions)

500 Views Asked by At

I've got a project with a maven structure (src/main, src/test) and somehow IntelliJ doesn't recognize imports from the test directory, although they're in the same package. When I run the Application it works. I already did "Invalidate Caches" and remove the intelliJ root folder (~/.IntelliJIdea2016).

Folder Structure

Test file

Any ideas?

Best regards

0

There are 0 best solutions below