I have opened git project I was running under Eclipse previously in IntelliJ. I have changed to Java 8 in following places:
File -> Project Structure -> SDKs
and
File -> Project Structure -> Project
Where to set Java 8 else? What it wants?
The project is Maven, pom file has only dependencies
sections
UPDATE
I am trying to run under IntelliJ