eror intellij idea (Could not initialize class org.codehaus.groovy.runtime.InvokerHelper)

Answered

so i download some challenge edutools and after i run the challenge , i get eror , i was install jdk java , sdk java , kotlin sdk , and gradle why i can get eror i use , java jdk version

openjdk version "13.0.2" 2020-01-14

OpenJDK Runtime Environment (build 13.0.2+8)

OpenJDK 64-Bit Server VM (build 13.0.2+8, mixed mode, sharing)

this is full output of my java version

enter image description here

and i use gradle version 6.2.2

Gradle 6.2.2

and this is full output of my gradle version

enter image description here

and this is my full output of eror on my intelejit idea

FAILURE: Build failed with an exception.

  • What went wrong: Could not initialize class org.codehaus.groovy.runtime.InvokerHelper

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1s

and this is the screenshoot of my eror in intlejit idea

enter image description here

anyone please help me

1
6 comments

Does it build from the command line Gradle? Try the more recent JDK/Gradle versions.

0

which gradle version , should i use  @ Serge Baranov

0

Try JDK 14 and Gradle 6.5.1 (current version).

Verify the command line gradle build works for you as it may be not IDE specific problem.

0

i use jdk 14 and is not work for me

0

Please provide the sample project and the exact steps to reproduce the issue. Also share the IDE logs: Help | Collect Logs and Diagnostic Data.

You can upload the files here: https://uploads.jetbrains.com.

0

so i remove jdk java version 14 , and i install back i get eror

 

Stop! java 14.0.2.j9 is not available. Possible causes:
* 14.0.2.j9 is an invalid version
* java binaries are incompatible with Darwin
* java has not been released yet

0

Please sign in to leave a comment.