运行testng.xml文件报错信息:
TestNG by default disables loading DTD from unsecured Urls. If you need to explicitly load the DTD from a http url, please do so by using the JVM argument [-Dtestng.dtd.http=true]
解决办法:
注释掉这句话:
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >