代码之家  ›  专栏  ›  技术社区  ›  Iqra Luqman

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

  •  1
  • Iqra Luqman  · 技术社区  · 6 年前

    实际误差

    [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
    

    有人能帮我解决这个问题吗? 非常感谢您的帮助。提前谢谢

    Screenshot of the issue

    1 回复  |  直到 5 年前
        1
  •  0
  •   Benoit    6 年前

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