[java] Fatal error compiling: invalid target release: 1.8 -> [Help 1]

In my case the maven "Run configuration" was using the wrong JRE (1.7). Be sure to check Run -> Run Configurations -> (Tab) JRE to be some jdk1.8.x.