gpt4 book ai didi

php - 无法找到 PHPunit phar。检查 php 单元配置 :eclipse oxygen

转载 作者:搜寻专家 更新时间:2023-10-31 20:58:26 24 4
gpt4 key购买 nike

1 [ i'm running the code and getting the followed error ] 2当我转到“运行”>“运行方式”>“PHP 单元测试”时,Eclipse 抛出此弹出窗口:无法找到 PHPUnit phar。检查 PHPUnit 配置。

除此上传项目外,此 eclipse 中的其他项目运行良好(提供输出)我发现了类似的问题 here但我在那里找不到解决办法。我尝试在 Eclipse 中更改不同的设置但没有用。我附上了我的属性树结构图像。 enter image description here enter image description here帮我解决这个问题。提前致谢。

最佳答案

我尝试了不同的设置更改,但没有任何帮助。

我尝试在不同的平台上运行(运行方式-->在服务器上运行/php cli 应用程序/php web 应用程序/php 单元测试)。

这对我有用

最后我的项目在 :

运行方式 --> PHP web 应用程序

关于php - 无法找到 PHPunit phar。检查 php 单元配置 :eclipse oxygen,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50037188/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com