I cannot figure out the problem. After the picture, another problem is here. htmlReporter.config() is not working and I'm not able to fix it.

This is my dependency:


And this is HTML reporter config:

htmlReporter.config().setDocumentTitle("eBanking Test Project"); // Tile of report
htmlReporter.config().setReportName("Functional Test Automation Report"); // name of the report
htmlReporter.config().setTestViewChartLocation(ChartLocation.TOP); //location of the chart

And here is the code: Screenshot of the code and errors in IDE

  • Apparently the library is not in your PATH. Can you confirm it? Jul 5, 2020 at 8:13
  • the same code is running without any problem in aventstack version 3.1.2(which is previous version) but I am using latest 4.1.5 version and that problem occurs.
    – Sm B
    Jul 5, 2020 at 15:26
  • Was the ChartLocation class removed from on this major update? Jul 5, 2020 at 16:08
  • HTML report is deprecated for java use spark
    – PDHide
    Jul 5, 2020 at 19:44

1 Answer 1


Htmle report in extente report is deprecated from v4.1.3:


Use spark report instead,


The steps remain the same. Only the name changed and everything else works almost the same

  • thanks a lot. I followed your instruction and it works
    – Sm B
    Jul 6, 2020 at 11:11
  • @SmB please accept the answer
    – PDHide
    Jul 6, 2020 at 11:15
  • @SmB you can accept the answer by clicking the tick sign near to my answer
    – PDHide
    Jul 6, 2020 at 15:36
  • I did it. I didn't know before, how to accept answer. thanks for helping
    – Sm B
    Jul 7, 2020 at 16:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.