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
My issues was that I was running mvn compile from a child project directory instead of the parent project.