- unable to find executable for :
- ubuntu 运行eclipse提示“The Eclipse e
- win10使用nodejs安装相关模块报错Can't find
- fastlane:执行fastlane custom_lane报
- Pod [!] Unable to find a specifi
- CMake undefined reference to `pt
- gyp ERR! stack Error: Can't find
- 使用Carthage 错误 xcrun: error: unab
- xcodebuild 工具找不到
- xcrun: error: unable to find uti
在测试脚本时发现,运行WebDriver的quit()方法时,出现以下报错:
“org.openqa.selenium.os.ProcessUtils killWinProcess
警告: Process refused to die after 10 seconds, and couldn't taskkill it
java.lang.NullPointerException: Unable to find executable for: taskkill”
原因是环境变量中没有添加taskkill的路径。
解决办法:taskkill默认在c:/Windows/System32下,在环境变量PATH中
添加此路径,确定关闭窗口。然后重新运行以下Eclipse或者其他编写工具,
重新运行即可。









网友评论