When running a JUnit test, using IntelliJ IDEA, I get
How can I correc
Modify the compiler setting file of the project in the following path and change the 'target' to 1.7:
/project/.idea/compiler.xml