执行失败:java.io.IOException:无法运行程序“ powershell”:CreateProcess错误= 2,系统找不到指定的文件

最后发布: 2019-12-03 10:23:04


问题

An Ant BuildException has occured: The following error occurred while executing this line: C:\\Polarion\\data\\workspace\\polarion-data\\jobs\\20191203-1104\\sources\\ProjektNEU\\templates.polarion\\CIC\\null\\build.xml:869: Execute failed: java.io.IOException: Cannot run program "powershell": CreateProcess error=2, The system cannot find the file specified

我试图在Polarion ALM软件中运行新的版本,但是它抛出了此异常。 有人知道如何解决此异常吗?

java powershell antbuilder polarion