有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

当iam试图将TestNG安装到Eclipse版本:Mars中时使用java。1获取错误,因为软件包含未着色的内容

我试图在eclipsemars中安装testng软件,但我发现了以下错误

Warning: You are installing software that contains unsigned content. The Authenticity or validity of this software cannot be Established . Do you wish to continue with the installation ?

在完成安装之后,我编写了一个示例测试用例,我得到了下面的错误消息,我无法运行任何testng anotations测试用例

Java.lang.nullpointerexception .


共 (1) 个答案

  1. # 1 楼答案

    我在testNG和mars上遇到了问题。 尝试使用最新版本的testNG重新安装mars和testNG 这是我使用的mars版本:

    版本:火星。1发布(4.5.1)