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

前端 未结 7 1622
佛祖请我去吃肉
佛祖请我去吃肉 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:52

    I was getting this error when running Maven build in Intelij Idea. I had a couple of projects open in separate windows and had other strange errors in a different project.

    Solved for me by closing all the Intellij Idea windows and re-opening the project. No dependencies versions were changed.

提交回复
热议问题