Maven surefire could not find ForkedBooter class

后端 未结 20 2642
盖世英雄少女心
盖世英雄少女心 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:39

    It's still an issue for surefire - v2.22.2 with maven:3.6-jdk-8-alpine. To fix the issue, add the below code to pom.xml (as maven plugin)

    ...
        
        org.apache.maven.plugins 
        maven-surefire-plugin  
        
            0
        
    
    ...
    

提交回复
热议问题