When running a JUnit test, using IntelliJ IDEA, I get
How can I correc
You need to change Java compiler version in in build config.