fixed error in Eclipse, but not in mvn