NativeScript / NativeScript/android-dts-generator

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

Open
#56 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
96
Forks
25
PR merge metrics
No merged PRs in 30d

Description

When launching gradlew jar it gives me the following error. I have changed distributionUrl to distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-bin.zip in dts-generator/gradle/wrapper/gradle-wrapper.propeties and now it works.
Source: https://stackoverflow.com/questions/61289461/java-lang-noclassdeffounderror-could-not-initialize-class-org-codehaus-groovy-v

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with dts-generator/gradle/wrapper/gradle-wrapper.propeties and the gradlew jar command described in the report. Check the configured distributionUrl against Gradle 6.3, then verify that launching gradlew jar no longer produces the reported Groovy Java7 initialization error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.