包org.testng不存在包,找不到符号:IReporter类,符号:XmlSuite

时间:2019-10-02 16:31:39

标签: jenkins jenkins-plugins

我安装了jenkins,后来又安装了maven插件和testng结果并配置了项目。之后,每当我开始构建它时,都会引发错误。请帮助我解决问题。

我尝试检查org.testng包,并且所有类均按预期存在。

[INFO] -------------------------------------------------------------
[ERROR] /C:/Users/tharu/git/WebAutomationPOM/ibiWebAutomation/src/main/java/com/ibi/ExtentReportListner/ExtentReporter.java:[21,40] cannot find symbol
  symbol: class IReporter
[ERROR] /C:/Users/tharu/git/WebAutomationPOM/ibiWebAutomation/src/main/java/com/ibi/ExtentReportListner/ExtentReporter.java:[26,49] cannot find symbol
  symbol:   class XmlSuite
  location: class com.ibi.ExtentReportListner.ExtentReporter
[ERROR] /C:/Users/tharu/git/WebAutomationPOM/ibiWebAutomation/src/main/java/com/ibi/ExtentReportListner/ExtentReporter.java:[26,75] cannot find symbol
  symbol:   class ISuite
  location: class com.ibi.ExtentReportListner.ExtentReporter
[ERROR] /C:/Users/tharu/git/WebAutomationPOM/ibiWebAutomation/src/main/java/com/ibi/ExtentReportListner/ExtentReporter.java:[48,45] cannot find symbol
  symbol:   class IResultMap
  location: class com.ibi.ExtentReportListner.ExtentReporter
[ERROR] /C:/Users/tharu/git/WebAutomationPOM/ibiWebAutomation/src/main/java/com/ibi/ExtentReportListner/ExtentReporter.java:[31,30] cannot find symbol
  symbol:   class ISuite
  location: class com.ibi.ExtentReportListner.ExtentReporter
[ERROR] /C:/Users/tharu/git/WebAutomationPOM/ibiWebAutomation/src/main/java/com/ibi/ExtentReportListner/ExtentReporter.java:[32,45] cannot find symbol
  symbol:   class ISuiteResult
  location: class com.ibi.ExtentReportListner.ExtentReporter
[ERROR] /C:/Users/tharu/git/WebAutomationPOM/ibiWebAutomation/src/main/java/com/ibi/ExtentReportListner/ExtentReporter.java:[34,38] cannot find symbol
  symbol:   class ISuiteResult
  location: class com.ibi.ExtentReportListner.ExtentReporter
[ERROR] /C:/Users/tharu/git/WebAutomationPOM/ibiWebAutomation/src/main/java/com/ibi/ExtentReportListner/ExtentReporter.java:[35,41] cannot find symbol
  symbol:   class ITestContext
  location: class com.ibi.ExtentReportListner.ExtentReporter
[ERROR] /C:/Users/tharu/git/WebAutomationPOM/ibiWebAutomation/src/main/java/com/ibi/ExtentReportListner/ExtentReporter.java:[52,38] cannot find symbol
  symbol:   class ITestResult
  location: class com.ibi.ExtentReportListner.ExtentReporter```

After clicking on build now , it should open chrome browser and execute my test cases.


  [1]: https://i.stack.imgur.com/HVKkn.png

0 个答案:

没有答案
相关问题