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

实际错误:


[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 版本。


任何人都可以帮我解决这个问题吗?帮助将不胜感激。提前致谢

http://img1.mukewang.com/61542d4200011b7b13640726.jpg

慕码人8056858
浏览 326回答 1
1回答

GCT1015

Groovy似乎存在 Java 9(和 10,...)兼容性问题。也许您可以尝试升级到最新版本的 Groovy。
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Java