[英]There was an error in the forked prpcess org/apache/commons/io/FileUtils org.apache.maven.surefire.booter.SurefireBooterForkException
When I am trying to perform the mvn test command, I got this error.当我尝试执行 mvn test 命令时,出现此错误。 It compile works fine.
它编译工作正常。 My code is running well I used to run this via Test-NG suite on Eclipse but getting error when trying to run this via maven on command prompt... Your assistance will be appreciable and thanks in advance.[Please find the screenshot link of the error below:-]
我的代码运行良好我曾经通过 Eclipse 上的 Test-NG 套件运行此程序,但在命令提示符下尝试通过 maven 运行此程序时出错...您的帮助将不胜感激,并提前致谢。[请找到截图链接下面的错误:-]
I have solved this error by adding the commons-io dependency in pom.xml:-`我通过在 pom.xml 中添加 commons-io 依赖项解决了这个错误:-`
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.6</version>
</dependency>
` `
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.