I had the same issue and correct answer above did not work for me. What I did to resolve it was to go to Build Path->Configure Build Path
and under the source tab I removed all the sources (which only had one source) and reconfigured them from there. I ended up removing the project from eclipse and import the maven project again in order to clear up the error.