пакет org.testng не существует пакет, не может найти символ: класс IReporter, символ: класс XmlSuite - PullRequest
0 голосов
/ 02 октября 2019

Я установил jenkins и позже установил плагины maven и результаты тестирования и настроил проект. После этого всякий раз, когда я начинаю строить его, выдает ошибку. Пожалуйста, помогите мне решить проблему.

Я попытался проверить свои пакеты 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

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...