我使用的一个地铁罐子引起了非法的反射式访问操作:
jvm 1 | WARNING: An illegal reflective access operation has occurred
jvm 1 | WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/C:/myapp/webservices-rt.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
jvm 1 | WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1
jvm 1 | WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
jvm 1 | WARNING: All illegal access operations will be denied in a future release
我已经读到这里存在非法的反射访问: what is an illegal reflective access
我需要使用特定的模块吗?怎么样?我在Metro zip文件中找不到任何文件。
我不清楚如何解决此问题。
答案 0 :(得分:0)
似乎“发生了非法的反射访问操作”是Java 9的功能。 Java 9+是否兼容“ metro-standalone-2.3.1”?