Resolve org.testng.TestNGException: TestNG by default disables loading DTD from unsecured Urls issue while using Intellij IDEA

Asanka Vithanage
2 min readSep 18, 2020

I was trying to run a simple TestNG test from the IntelliJ Idea as in the below screenshot.

But ended up with the below exception.

org.testng.TestNGException: TestNG by default disables loading DTD from unsecured Urls. If you…

--

--

Asanka Vithanage

Software Quality Assurance Professional, Problem Solver, SOA Tester, Automation Engineer, CI/CD Practitioner, DevOps enthusiast