title: Error [RemoteTestNG] detected TestNG version 6.14.2
body: <p><strong>Actual Error</strong>:</p>
  <pre><code>[RemoteTestNG] detected TestNG version 6.14.2
  WARNING: An illegal reflective access operation has occurred
  WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/C:/Users/Mahnoor%20Luqman/.m2/repository/org/codehaus/groovy/groovy/2.4.9/groovy-2.4.9.jar) to method java.lang.Object.finalize()
  WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
  WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
  WARNING: All illegal access operations will be denied in a future release
  </code></pre>
  <p><strong>I am using Eclipse Photon latest version with java 10.0.2 version.</strong></p>
  <p>Can anyone please help me to resolve this issue?
  Help would be really appreciated. Thanks in advance</p>
  <p><a href="https://i.stack.imgur.com/JVsPl.png" rel="nofollow noreferrer">Screenshot of the issue</a></p>