This error prevents me from running the project.
Here are versions info :
~ ❯❯❯ java -version java version \"1.8.0_45\" Java(TM) SE Runtime Environment (
go to editconfiguration in intellij and choose in JRE drop down the jdk version which is installed in your system. and do rebuild, It worked for me.