I have a maven project forked and cloned from a git repo onto my eclipse. It is build on Java 8. The first thing i do is perform a
mvn clean install
make sure java home path is correct. for my case, java home path is wrong in pom file.
/usr/java/jdk1.8.0_45/bin/javac org.apache.maven.plugins maven-compiler-plugin 3.5.1 true true ${java.home} 1.8 1.8 1.8