-
Notifications
You must be signed in to change notification settings - Fork 949
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
Error when loading project with Gradle #13587
Comments
did u solve this? im facing the same problem |
It has been removed for the upcoming Grails 7 release. For prior versions, this is an intermittent issue that might be caused by a 400 error on the spring repo which is potentially rechecked on some interval by repo.grails.org. I'd make sure you have the Grails Repo in
It will get downloaded from https://repo.grails.org/ui/native/core/org/codehaus/groovy/modules/http-builder/http-builder/0.7.2/ You could also change
|
fetching the maven takes forever |
Please add below line in Project-level build.gradle
|
Thank you PratikDodya |
@PratikDodiya I did this,but it still do not download from "https://repo.grails.org/grails/core/" |
I have got another issue after applying your suggestion Unable to load class 'org.gradle.initialization.BuildCompletionListener' Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.) Re-download dependencies and sync project (requires network) Stop Gradle build processes (requires restart) In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes. |
@kephakhang I would take a look at the Grails 6.2.1 release which removes http-builder entirely and make sure you are running Gradle 7.6.4 for Grails 6. Grails 7 will be on Gradle 8.10+. Do ./gradlew clean and possibly clear your local user maven and gradle cache entirely, to start with a clean surface |
In my case, I had a library imported as a project, called quickcation, that had a plugin |
Expected Behavior
Gradle should load the the project without issues
Actual Behaviour
All of a sudden, I'm getting this error when loading the project with Gradle:
It's strange,
0.7.2
is not in the list here: https://mvnrepository.com/artifact/org.codehaus.groovy.modules.http-builder/http-builder but it exists here: https://mvnrepository.com/artifact/org.codehaus.groovy.modules.http-builder/http-builder/0.7.2Downgrading to
0.7.1
works.Related: jgritman/httpbuilder#35, ratpack/ratpack@a63078c
Steps To Reproduce
No response
Environment Information
No response
Example Application
No response
Version
6.2.x, 7.0.x
The text was updated successfully, but these errors were encountered: