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
I had the same problem and I Changed this
1.7 1.7
here 1.7 is my JDK version.it was solved.