Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7

It's probably because you use Gradle as the build system and JDK14
and the Gradle version is old. Reference:

https://github.com/gradle/gradle/issues/10248

If you use Gradle Wrapper then refer to
$PROJECT_ROOT/gradle/wrapper/gradle-wrapper.properties.
Property distributionUrl should be: 

distributionUrl=https://services.gradle.org/distributions/gradle-6.3-bin.zip

If it's an older version then change it, run ./gradlew clean build 
and try again.
Comment

PREVIOUS NEXT
Code Example
Java :: Java program to find the sum of first 100 numbers 
Java :: how to import cert from browser into java 
Java :: {} when initialising arraylist java 
Java :: isinstance java 
Java :: read file java line 
Java :: android studio set text of textview 
Java :: java how to find the largest number in an arraylist 
Java :: how to convert int to integer in java 
Java :: setbounds in java 
Java :: java try catch 
Java :: Fibonacci Series Program. in java 
Java :: print * pattern in java 
Java :: @data lombok 
Java :: java create arraylist 
Java :: get first letter of string in array java 
Java :: how to hide menu items in android 
Java :: how to convert string to boolean in java 
Java :: SendKeys issues with numbers(Int) 
Java :: RecyclerView: No layout manager attached; skipping layout 
Java :: copy to clipboard android studio 
Java :: How to solve the N queens problem in Java? 
Java :: vscode java.home path 
Java :: kapt plugin 
Java :: java bigdecimal check less zero 
Java :: set password visible in android 
Java :: java summe array 
Java :: difference between access specifiers and access modifiers in java 
Java :: Who is James Gosling 
Java :: printing arraylist 
Java :: final method meaning 
ADD CONTENT
Topic
Content
Source link
Name
7+9 =