I've set up a default Maven project in Eclipse but when I run mvn clean test
or run Maven test from Eclipse, I get a set of errors:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project gsn-editor: Compilation failure: Compilation failure: [ERROR] error reading C:\Users\owner.m2\repository\org\apache\maven\maven-project\2.2.1\maven-project-2.2.1.jar; invalid END header (bad central directory offset) [ERROR] /C:/Users/owner/git/repository/gsn-editor/gsn-editor/src/model/package-info.java:[25,1] cannot access model [ERROR] invalid END header (bad central directory offset) [ERROR] /C:/Users/owner/git/repository/gsn-editor/gsn-editor/src/model/base/package-info.java:[27,1] cannot access model.base [ERROR] invalid END header (bad central directory offset) [ERROR] /C:/Users/owner/git/repository/gsn-editor/gsn-editor/src/test/TestSacmElement.java:[1,1] cannot access test [ERROR] invalid END header (bad central directory offset) [ERROR] /C:/Users/owner/git/repository/gsn-editor/gsn-editor/src/model/base/SacmElement.java:[3,8] cannot access java [ERROR] invalid END header (bad central directory offset)
What does that all mean, and how do I fix it?