I\'m using testng maven and selenium to run my tests, currently I have the following testng.xml file
Looks like the problem is with the &listeners and &class
Change "http://testng.org/testng-1.0.dtd" to "https://testng.org/testng-1.0.dtd" in your suite file.
Adding those VM options : -ea -Dtestng.dtd.http=true
solved this problem.
But if you want to solve it for each run either for any class or method, you need to add the same in TestNG template, please refer to this screenshot.
Intelij TestNg Template SS