处理3(JDK11)中的非法反射访问错误

问题描述 投票:0回答:1

我遇到这组错误:

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by com.jogamp.common.os.NativeLibrary$3 (file:/C:/Users/Who/processing-3.5.3/processing-3.5.3/core/library/gluegen-rt.jar) to method java.lang.ClassLoader.findLibrary(java.lang.String)

WARNING: Please consider reporting this to the maintainers of com.jogamp.common.os.NativeLibrary$3

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

[每当我尝试绘制草图时。我正在IntelliJ中工作,应该导入所有必需的jar。我在主程序中调用PApplet.main()方法,并且已经在settings()中设置了大小。我尝试使用多个版本的处理。代码会编译。有什么想法吗?

java runtime-error processing java-11 java-module
1个回答
0
投票

这是JOGL / JogAmp库的问题(尽管是警告,而不是错误),在此库上建立了Processing的P2DP3D模式。

此库引发警告-不在处理中。作为处理用户,您无法做任何修复。

© www.soinside.com 2019 - 2024. All rights reserved.