Surefire Maven plugin: “Corrupted STDOUT by directly writing to native stream in forked JVM”

前端 未结 7 1604
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-01 01:23

My JUnit tests are failing when running them through Maven and the Surefire plugin (version information below). I see the error message:

Corrupted STDOUT by direc         


        
7条回答
  •  北恋
    北恋 (楼主)
    2021-02-01 01:46

    Run in the same problem while migrating project from JAVA 8 to JAVA 11, upgrading jacoco-plugin from 0.8.1 to 0.8.4 did the job.

    Analysing maven dependencies, seeing from where jacoco is pulled and then fixing the version should solve the issue.

提交回复
热议问题