title: TestNG by default disables loading DTD from unsecure Urls
body: <p>I'm using testng maven and selenium to run my tests, currently I have the following testng.xml file</p>
  
  <p>Looks like the problem is with the &amp;listeners and &amp;classes lines, If I replace those lines with the xml content that I have on the referenced files it runs fine. I have used this in a previous project and it worked fine, not sure why I'm getting this error.</p>
  
  <pre><code>&lt;?xml version = "1.0" encoding = "UTF-8"?&gt;
  &lt;!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd"   [
          &lt;!ENTITY listeners SYSTEM "listeners.xml"&gt;
          &lt;!ENTITY classes SYSTEM "classes.xml"&gt;
          ]&gt;
  &lt;suite name="Local Execution" verbose="5"&gt;
      &amp;listeners;
      &lt;test name="Core Integration Tests" time-out="800000"&gt;
          &lt;groups&gt;
              &lt;run&gt;
                  &lt;include name="failed"/&gt;
              &lt;/run&gt;
          &lt;/groups&gt;
          &amp;classes;
      &lt;/test&gt;
  &lt;/suite&gt;
  </code></pre>
  
  <p>Listener.xml content is like</p>
  
  <pre><code>&lt;listeners&gt;
      &lt;listener class-name="com.myclass.Listeners.TestListener"/&gt;
  &lt;/listeners&gt;
  </code></pre>
  
  <p>And classes file is </p>
  
  <pre><code>&lt;classes&gt;
      &lt;class name="com.orders.tc_class1"/&gt;
      &lt;class name="com.orders.tc_class2"/&gt;
  &lt;/classes&gt;
  </code></pre>
  
  <p>This is part of the error I'm getting</p>
  
  <pre><code>org.testng.TestNGException: 
  TestNG by default disables loading DTD from unsecure Urls. If you need to explicitly load the DTD from a http url, please do so by using the JVM argument [-Dtestng.dtd.http=true]
      at org.testng.xml.TestNGContentHandler.resolveEntity(TestNGContentHandler.java:102)
  </code></pre>