Closed SergBukreev closed 10 months ago
Hi!
Are you using the Java Module System for your project? JFXShader works with internal JavaFX components that are not externally available by default.
You can call JFXShaderModule.setup();
before using any of the libraries classes. This will open the JavaFX module up to the library. This is only necessary when using Java modules.
Update: I added a troubleshooting page to the wiki containing the solution for this error.
Hi! Trying to integrate your library with FXGL and this issue appears after running app Caused by: java.lang.IllegalAccessError: superclass access check failed: class de.teragam.jfxshader.material.ShaderMaterial$6 (in unnamed module @0x6a80675f) cannot access class com.sun.javafx.beans.event.AbstractNotifyListener (in module javafx.graphics) because module javafx.graphics does not export com.sun.javafx.beans.event to unnamed module @0x6a80675f Can you help with this?