【问题标题】:Illegal reflective access by io.netty.util.internal.PlatformDependent0$1io.netty.util.internal.PlatformDependent0$1 的非法反射访问
【发布时间】:2020-02-04 13:06:59
【问题描述】:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by io.netty.util.internal.PlatformDependent0$1 (file:/D:/eclipse_workspace/Server_GameBox/lib/netty-all-4.1.6.Final.jar) to field java.nio.Buffer.address
WARNING: Please consider reporting this to the maintainers of io.netty.util.internal.PlatformDependent0$1
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。

这是我的问题。我第一次使用stackoverflow,我不知道如何使用它。 但我希望有人能帮助我。

【问题讨论】:

  • 欢迎来到 StackOverflow。由于这是您的第一次,如果您从 the Tour 开始,然后阅读 How to Ask a Question,您会发现很多建议。任何人都会问您的第一件事是提供导致您的问题的代码的minimum reproducible example。只发布一条错误消息,而没有说明您做了什么导致该错误,这将使任何人都很难为您提供帮助。
  • 另外,您的问题实际上没有问题。

标签: java netty


【解决方案1】:

升级到最新的 4.1 版本的 netty。很久以前就修好了,你的netty版本太旧了。

【讨论】:

  • 4.1.584.1.59.Final 有相同的警告
  • 但是,--illegal-access=warn VM 参数隐藏了它。
猜你喜欢
  • 2018-03-22
  • 2019-04-17
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2018-10-19
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多