Could not initialize class org.codehaus.groovy.runtime.InvokerHelper

Hello, I created a JavaFX Project with Java JDK 14.0.1, I use IntelliJ IDE, When I run my project, It is showing like this “Could not initialize class org.codehaus.groovy.runtime.InvokerHelper”, I tested on my Terminal, Ubuntu 20.04 LTS.
The same problem occurred. Help Me. Gradle Version is 6.4.1