检测到错误[RemoteTestNG] TestNG版本6.14.2

时间:2018-09-20 12:12:48

标签: java eclipse groovy testng

实际错误

[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

我正在将Eclipse Photon最新版本与Java 10.0.2版本结合使用。

有人可以帮助我解决此问题吗? 帮助将不胜感激。预先感谢

Screenshot of the issue

1 个答案:

答案 0 :(得分:0)

似乎有Java 9(和10,...)compatibility issues for Groovy。也许您可以尝试升级到最新版本的Groovy。