Maven surefire could not find ForkedBooter class

后端 未结 20 2662
盖世英雄少女心
盖世英雄少女心 2020-11-28 19:21

Recently coming to a new project, I\'m trying to compile our source code. Everything worked fine yesterday, but today is another story.

Every time I\'m running

20条回答
  •  庸人自扰
    2020-11-28 19:28

    Basically is an incompatibility between JDK version and maven-surefire plugin version, in my case, JDK 11.0.5 doesn't work with surefire 3.0.0-M4, I had to switch to 3.0.0-M3 and it worked. setting forkCount to 0 doesn't fix the issue because it breaks the Jacoco report.

提交回复
热议问题