mvn test fails because of Surefire JDK version?

后端 未结 3 2007
说谎
说谎 2021-01-12 12:15

I am trying to run mvn test on my project. The project itself compiles and installs but man test fails with the following output:

[ERROR] Failed to execute g         


        
3条回答
  •  情深已故
    2021-01-12 13:06

    It seems I hadn't updated my Maven in Eclipse (right click project -> Maven -> Update Project...) or chosen JDK 8 in Window -> Preferences -> Java -> Compiler options. With these two done everything works perfectly again :)

提交回复
热议问题