runtime exception for javafx

I figured out the answer finally.

it’s in the file

I just had to put this line of code there

requires com.jfoenix;

but be careful about a thing

when I run the project with a different Jfoenix component, let’s say JFXtextfield I encountered “java.lang.reflect.InaccessibleObjectException”

with a large stack trace

someone encountered the same thing right here

for me since I am using maven on IntelliJ I added those two lines in VM options


and everything worked well

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top