When running a JUnit test, using IntelliJ IDEA, I get
How can I correc
If all the previous solutions haven't worked for you (which was my case), you can delete intellij config files:
Intellij will regenerate new ones later. However, BE CAREFUL, this will also delete all intellij configuration made on the projet (i.e: configuration of debug mode, ...)