```* What went wrong: Execution failed for task ':...
# questions
g
Copy code
* What went wrong:
Execution failed for task ':citss-web:bootJar'.
> Could not resolve all files for configuration ':citss-web:runtimeClasspath'.
   > Could not resolve org.codehaus.groovy:groovy-bom:3.0.25.
     Required by:
         project :citss-web > org.apache.grails:grails-core:7.0.9 > org.apache.grails.bootstrap:grails-bootstrap:7.0.9 > org.apache.grails.gradle:grails-gradle-model:7.0.9 > org.apache.grails:grails-gradle-bom:7.0.9
      > No matching variant of org.apache.groovy:groovy-bom:4.0.30 was found. The consumer was configured to find a library for use during runtime, compatible with Java 17, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally, as well as attribute 'com.netflix.gradle.jakartaee' with value 'true' but:
          - Variant 'apiElements':
              - Incompatible because this component declares a platform for use during compile-time and the consumer needed a library for use during runtime
              - Other compatible attributes:
                  - Doesn't say anything about com.netflix.gradle.jakartaee (required 'true')
                  - Doesn't say anything about how its dependencies are found (required its dependencies declared externally)
                  - Doesn't say anything about its elements (required them packaged as a jar)
                  - Doesn't say anything about its target Java environment (preferred optimized for standard JVMs)
                  - Doesn't say anything about its target Java version (required compatibility with Java 17)
          - Variant 'enforcedApiElements':
              - Incompatible because this component declares an enforced platform for use during compile-time and the consumer needed a library for use during runtime
              - Other compatible attributes:
                  - Doesn't say anything about com.netflix.gradle.jakartaee (required 'true')
                  - Doesn't say anything about how its dependencies are found (required its dependencies declared externally)
                  - Doesn't say anything about its elements (required them packaged as a jar)
                  - Doesn't say anything about its target Java environment (preferred optimized for standard JVMs)
                  - Doesn't say anything about its target Java version (required compatibility with Java 17)
          - Variant 'enforcedRuntimeElements' declares a component for use during runtime:
              - Incompatible because this component declares an enforced platform and the consumer needed a library
              - Other compatible attributes:
                  - Doesn't say anything about com.netflix.gradle.jakartaee (required 'true')
                  - Doesn't say anything about how its dependencies are found (required its dependencies declared externally)
                  - Doesn't say anything about its elements (required them packaged as a jar)
                  - Doesn't say anything about its target Java environment (preferred optimized for standard JVMs)
                  - Doesn't say anything about its target Java version (required compatibility with Java 17)
          - Variant 'runtimeElements' declares a component for use during runtime:
              - Incompatible because this component declares a platform and the consumer needed a library
              - Other compatible attributes:
                  - Doesn't say anything about com.netflix.gradle.jakartaee (required 'true')
                  - Doesn't say anything about how its dependencies are found (required its dependencies declared externally)
                  - Doesn't say anything about its elements (required them packaged as a jar)
                  - Doesn't say anything about its target Java environment (preferred optimized for standard JVMs)
                  - Doesn't say anything about its target Java version (required compatibility with Java 17)

* Try:
> No matching variant errors are explained in more detail at <https://docs.gradle.org/8.14.4/userguide/variant_model.html#sub:variant-no-match>.
> Review the variant matching algorithm at <https://docs.gradle.org/8.14.4/userguide/variant_attributes.html#sec:abm_algorithm>.
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at <https://help.gradle.org>.