Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build Gradle Project - groovy.lang.GroovyObject cannot be found by ch.qos.logback.classic_1.1.2.v20171220-1825 #1615

Open
SavvasRuchithakur opened this issue Mar 24, 2025 · 0 comments

Comments

@SavvasRuchithakur
Copy link

SavvasRuchithakur commented Mar 24, 2025

Hi , I am trying to import my Gradle Project with 6.9 version and JDK 11 , Eclipse version is Version: 2022-09 (4.25.0)
Build id: 20220908-1902. I do not have any Groovy dependency in my project still I am getting this error and unable to resolve it .

Could not run phased build action using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-6.9-bin.zip'.
groovy/lang/GroovyObject
groovy.lang.GroovyObject cannot be found by ch.qos.logback.classic_1.1.2.v20171220-1825

Multiple methods that we have tried till yet :

  1. Gradle and JDK version - Both are as per the requirement which is Gradle 6.9 and JDK 11 , paths for both of these are also set properly.
  2. Added the dependencies in the build.gradle : implementation 'org.codehaus.groovy:groovy-all:2.5.14' // Ensure latest Groovy implementation 'ch.qos.logback:logback-classic:1.2.11' // Newer Logback version implementation 'ch.qos.logback:logback-core:1.2.11' , have tried adding these dependencies directly in build.gradle and its another form as well .
  3. Attempt to clear gradle caches and refreshing the dependencies.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant