15:52:12 #29 467.5 The following artifacts could not be resolved: org.grails.plugins:tomcat:zip:7.0.55.3, org.grails.plugins:codenarc:zip:1.3: Could not transfer artifact org.grails.plugins:tomcat:zip:7.0.55.3 from/to grailsCentral (https://repo.grails.org/grails/plugins): Service Temporarily Unavailable (503)
mavenLocal()
maven { url "https://repo.grails.org/artifactory/core" }
maven { url "https://repo.grails.org/grails/core" }
mavenCentral()
jcenter()
Does not help.
Works perfectly fine on local, but fails on CI.
I am using this:
mavenRepo "http://repo.grails.org/grails/core"
mavenRepo "http://repo.grails.org/grails/plugins"
And get this error:
Error Resolve error obtaining dependencies: Failed to read artifact descriptor for org.grails.plugins:rest-client-builder:zip:2.1.1 (Use --stacktrace to see the full trace)
Works perfectly fine on local, but fails on CI
Is that the wrapper already downloaded locally but not on CI?
Nope, the wrapper is committed with the code.
@ShurikAg Thank you, we are aware of current issues with the JFrog artifactory and we are in touch with the JFrog team to help us get the artifactory back online. We will share the further updates as soon as we get them.
Sorry for the inconvenience.
@ShurikAg Thank you, we are aware of current issues with the JFrog artifactory and we are in touch with the JFrog team to help us get the artifactory back online. We will share the further updates as soon as we get them.
Sorry for the inconvenience.
Thank you! Is there any workaround for now? Or there is nothing to do?
The repository is currently back online. Thank you everyone for your patience as we work through these issues.
@JasonTypesCodes will the old http urls be restored, or do we need to keep the workarounds for Grails 2.x?
@JasonTypesCodes will the old http urls be restored, or do we need to keep the workarounds for Grails 2.x?
@martin-walsh That is a detail we are still working through. If the repository does revert back to responding to HTTP requests without a redirect, it will likely be for a limited period to allow a more graceful transition to HTTPS.
What version of Grails 2 are you running, and have you had to take actions beyond changing your repositories to https://repo.grails.org/grails/...
?
@JasonTypesCodes Running both 2.3.11 & 2.5.4.
Taking no action beyond overriding the definition of grailsCentral()
in BuildConfig.
The workaround is very simple to apply, but I am wondering if we should plan to apply it permanently as the challenge my organisation faces is 100+ grails projects that need updating.
It is not a deal breaker, just something that needs to be done if http://
urls aren't coming back
@JasonTypesCodes Running both 2.3.11 & 2.5.4.
Taking no action beyond overriding the definition of grailsCentral()
in BuildConfig.
The workaround is very simple to apply, but I am wondering if we should plan to apply it permanently as the challenge my organisation faces is 100+ grails projects that need updating.
It is not a deal breaker, just something that needs to be done if http://
urls aren't coming back
@martin-walsh Thank you, that is good information to have.
If the HTTP URLs do resume working without a redirect that will be for a limited period. I would not suggest reverting any updates you have already made to the HTTPS repository URLs. I would also strongly consider taking the time to update your remaining applications.
@jeffbrown @puneetbehl
I updated the repository URLs, as suggested in the workaround and I am still getting the same issue. Like nothing changed.
Do I need to regenerate the wrapper JAR's somehow to make it work? Or any additional steps to make it work?
Here is my current build.gradle
buildscript {
repositories {
mavenLocal()
maven { url "https://repo.grails.org/artifactory/core" }
maven { url "https://repo.grails.org/grails/core" }
dependencies {
classpath "org.grails:grails-gradle-plugin:$grailsVersion"
classpath "org.grails.plugins:views-gradle:2.0.2"
classpath "org.grails.plugins:hibernate5:7.0.4"
classpath 'org.grails.plugins:database-migration:3.1.0.RC1'
version "0.2"
group "priz"
// apply plugin:"eclipse"
apply plugin:"idea"
apply plugin:"war"
apply plugin:"org.grails.grails-web"
apply plugin:"org.grails.plugins.views-json"
repositories {
mavenLocal()
maven { url "https://repo.grails.org/artifactory/core" }
maven { url "https://repo.grails.org/grails/core" }
configurations {
developmentOnly
runtimeClasspath {
extendsFrom developmentOnly
dependencyManagement {
imports {
mavenBom 'com.amazonaws:aws-java-sdk-bom:1.12.1'
dependencies {
developmentOnly("org.springframework.boot:spring-boot-devtools")
compile "org.springframework.boot:spring-boot-starter-logging"
compile "org.springframework.boot:spring-boot-autoconfigure"
compile "org.grails:grails-core"
compile "org.springframework.boot:spring-boot-starter-actuator"
compile "org.springframework.boot:spring-boot-starter-tomcat"
compile "org.grails:grails-plugin-url-mappings"
compile "org.grails:grails-plugin-rest"
compile "org.grails:grails-plugin-codecs"
compile "org.grails:grails-plugin-interceptors"
compile "org.grails:grails-plugin-services"
compile "org.grails:grails-plugin-datasource"
compile "org.grails:grails-plugin-databinding"
compile "org.grails:grails-web-boot"
compile "org.grails:grails-logging"
compile "org.grails.plugins:cache"
compile "org.grails.plugins:async"
compile "org.grails.plugins:spring-security-rest:3.0.1"
compile "org.grails.plugins:views-json"
compile "org.grails.plugins:views-json-templates"
compile "org.grails.plugins:events"
compile "org.grails.plugins:hibernate5"
compile "org.hibernate:hibernate-core:5.4.18.Final"
compileOnly "io.micronaut:micronaut-inject-groovy"
console "org.grails:grails-console"
profile "org.grails.profiles:rest-api"
runtime "org.glassfish.web:el-impl:2.1.2-b03"
runtime "com.h2database:h2"
runtime "org.apache.tomcat:tomcat-jdbc"
runtime "javax.xml.bind:jaxb-api:2.3.1"
testCompile "io.micronaut:micronaut-inject-groovy"
testCompile "org.grails:grails-gorm-testing-support"
testCompile "org.mockito:mockito-core"
testCompile "io.micronaut:micronaut-http-client"
testCompile "org.grails:grails-web-testing-support"
testCompile "org.grails:views-json-testing-support"
testCompile "org.hibernate.validator:hibernate-validator:6.0.20.Final"
compile "com.amazonaws:aws-java-sdk-s3"
compile "org.grails.plugins:postgresql-extensions:7.0.0"
compile "org.postgresql:postgresql:42.2.20"
compile 'org.grails.plugins:database-migration:3.1.0.RC1'
compile 'org.liquibase:liquibase-core:3.6.1'
compile "com.auth0:auth0:1.31.0"
compile "com.auth0:jwks-rsa:0.18.0"
compile 'com.papertrailapp:logback-syslog4j:1.0.0'
compile "com.stripe:stripe-java:20.56.0"
compile "com.sendinblue:sib-api-v3-sdk:5.2.0"
runtime "org.grails.plugins:async:4.0.0"
compile "org.grails:grails-datastore-gorm-async"
implementation "com.squareup.okhttp3:okhttp:4.9.0"
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.3.72'
bootRun {
ignoreExitValue true
jvmArgs(
'-Dspring.output.ansi.enabled=always',
'-noverify',
'-XX:TieredStopAtLevel=1',
'-Xmx1024m')
sourceResources sourceSets.main
String springProfilesActive = 'spring.profiles.active'
systemProperty springProfilesActive, System.getProperty(springProfilesActive)
tasks.withType(GroovyCompile) {
configure(groovyOptions) {
forkOptions.jvmArgs = ['-Xmx1024m']
sourceSets {
main {
resources {
srcDir 'grails-app/migrations'
And the error is:
@jeffbrown @puneetbehl
I updated the repository URLs, as suggested in the workaround and I am still getting the same issue. Like nothing changed.
Do I need to regenerate the wrapper JAR's somehow to make it work? Or any additional steps to make it work?
And the error is:
@ShurikAg This looks similar to the error we were running into. It's probably because the grails wrapper inside of your repository has the typos. Here are the steps that we took to resolve #11825 (comment)
@jeffbrown @puneetbehl
I updated the repository URLs, as suggested in the workaround and I am still getting the same issue. Like nothing changed.
Do I need to regenerate the wrapper JAR's somehow to make it work? Or any additional steps to make it work?
And the error is:
@ShurikAg This looks similar to the error we were running into. It's probably because the grails wrapper inside of your repository has the typos. Here are the steps that we took to resolve #11825 (comment)
Oh wow! Though, I am running Grails 4. Does it make a difference?
Also, any change to get access to that fork? :) Or the generated jar? 😃
Also, any change to get access to that fork? :) Or the generated jar?
@ShurikAg That wrapper error can be resolved by using an updated grails-wrapper.jar.
Please see: https://grails.org/blog/2021-06-10-grails-wrapper-update.html
The issue for this bug is here: grails/grails-wrapper#7
Hi All,
I am observing the similar kind of issue with grails version 2.4.0. I am getting the below error during generation of WAR file:
The error is observed immediately after the execution of grails -clean command.
I have followed all the suggestions mentioned in various comments and modified the BuildConfig.groovy file, but the result is same and everytime I am getting this issue in downloading the grails dependencies.
Attaching the BuildConfig.groovy.docx for reference.
I even tried adding the maven repos - mavenRepo "https://repo.grails.org/artifactory/core/" and mavenRepo "https://repo.grails.org/artifactory/plugins/" as mentioned in https://github.com/GMOD/Apollo/pull/2624/files; but no luck.
Can you please check and help me out with this issue? I am not able to proceed with the WAR file generation.
Thanks!