在我下载 TestNG 之前,我在 Eclipse Kepler 中的项目运行良好.发布 TestNG 下载后,我无法为我的代码单击运行"按钮.单击运行后,或者即使我将鼠标悬停在运行上,也会显示以下错误消息.
<块引用>在计算启动按钮工具提示"期间发生内部错误.java.lang.IllegalArgumentException
如果我卸载测试我的所有脚本运行.但是一旦我重新安装测试,问题就会再次出现
我尝试了以下方法:
错误说明了一切:
在计算启动按钮工具提示"期间发生内部错误.java.lang.IllegalArgumentException
您无法为您的代码点击 Run 按钮,或者当您将鼠标悬停在 Run 上时点击 Run 后,您会看到错误,因为这些按钮的标签是根据活动编辑器中的 *.java 文件计算的.如果有两个 jar 具有相同的类,则可能会出现此问题,例如(selenium-server-standalone-3.9.1
和 client-combined-3.9.1
).p>
所以可能的解决方案是:
执行你的测试
您可以在这里找到关于 的详细讨论计算启动按钮工具提示"错误
My projects in Eclipse Kepler were working just fine until I downloaded TestNG. Post TestNG download, I am unable to click on Run button for my code. after I click on run or even if I hover over on run the following error message is displayed.
An internal error occurred during: "Compute launch button tooltip". java.lang.IllegalArgumentException
If I uninstall testing all my scripts run. But as soon as I reinstall Testing the issue reappears
I have tried the following methods:
The error says it all :
An internal error occurred during: "Compute launch button tooltip". java.lang.IllegalArgumentException
You are unable to click on Run button for your code or after you click on Run when you hover over on Run you see the error because the labels of these buttons are calculated depending on the *.java file in the active editor. This issue can occur if there are two jars with same classes e.g. (selenium-server-standalone-3.9.1
and client-combined-3.9.1
).
So the possible solutions are :
Execute your Tests
Here you can find here a detailed discussion on "Compute launch button tooltip" error
这篇关于在“计算启动按钮工具提示"期间发生内部错误.安装 TestNG 后 Eclipse Kepler 出现 java.lang.IllegalArgumentException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!