This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
docpublic:systemes:ssocas:cas7update [2026/01/27 20:01] adminjp [Dry run] |
docpublic:systemes:ssocas:cas7update [2026/02/01 21:51] (current) adminjp [build errors] |
||
|---|---|---|---|
| Line 218: | Line 218: | ||
| </ | </ | ||
| - | 2 correctif | + | ==== build errors ==== |
| + | |||
| + | < | ||
| + | [root@cas7dev cas-overlay-template-7u]# | ||
| + | |||
| + | [Incubating] Problems report is available at: file:/// | ||
| + | |||
| + | FAILURE: Build failed with an exception. | ||
| + | |||
| + | * What went wrong: | ||
| + | A problem occurred configuring root project ' | ||
| + | > Could not resolve all artifacts for configuration ' | ||
| + | > Could not find org.apereo.cas: | ||
| + | | ||
| + | - file:/ | ||
| + | - https:// | ||
| + | - https:// | ||
| + | - https:// | ||
| + | | ||
| + | root project : | ||
| + | |||
| + | * Try: | ||
| + | > 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:// | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | The Fix: Remove that line. The CAS Gradle plugin typically handles what it needs internally. If you need configuration metadata support, ensure you are using the correct CAS Gradle Plugin version that matches your CAS version. | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | [root@cas7dev cas-overlay-template-7u]# | ||
| + | |||
| + | dependencies { | ||
| + | classpath " | ||
| + | classpath " | ||
| + | classpath " | ||
| + | classpath " | ||
| + | classpath " | ||
| + | classpath " | ||
| + | classpath " | ||
| + | // classpath " | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | puis erreur | ||
| + | |||
| + | < | ||
| + | * Where: | ||
| + | Build file '/ | ||
| + | |||
| + | * What went wrong: | ||
| + | A problem occurred evaluating root project ' | ||
| + | > Could not resolve all artifacts for configuration ' | ||
| + | > Could not find org.apereo.cas: | ||
| + | | ||
| + | - file:/ | ||
| + | - https:// | ||
| + | - https:// | ||
| + | - https:// | ||
| + | | ||
| + | | ||
| + | </ | ||
| + | |||
| + | line 90 de build.gradle appel | ||
| + | |||
| + | apply from: rootProject.file(" | ||
| + | |||
| + | # vim / | ||
| + | |||
| + | on comment alors tout le dernier bloc | ||
| + | |||
| + | < | ||
| + | /* task exportConfigMetadata(group: | ||
| + | def file = new File(project.rootDir, | ||
| + | def queryType = ConfigurationMetadataCatalogQuery.QueryTypes.CAS | ||
| + | ... | ||
| + | } | ||
| + | println " | ||
| + | } | ||
| + | } */ | ||
| + | </ | ||
| + | |||
| + | cela build enfin | ||
| + | |||
| + | < | ||
| + | [root@cas7dev cas-overlay-template-7u]# | ||
| + | To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https:// | ||
| + | Daemon will be stopped at the end of the build | ||
| + | Configuration on demand is an incubating feature. | ||
| + | |||
| + | > Configure project : | ||
| + | Using Amazon Corretto as the JVM vendor for the Java toolchain | ||
| + | Building CAS version 7.2.7 with application server -tomcat | ||
| + | |||
| + | [Incubating] Problems report is available at: file:/// | ||
| + | |||
| + | Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. | ||
| + | |||
| + | You can use ' | ||
| + | |||
| + | For more on this, please refer to https:// | ||
| + | |||
| + | BUILD SUCCESSFUL in 1m 6s | ||
| + | 9 actionable tasks: 9 executed | ||
| + | |||
| + | [root@cas7dev cas-overlay-template-7u]# | ||
| + | total 125420 | ||
| + | -rwxr--r-- 1 root root 128428810 Feb 1 21:46 cas.war | ||
| + | </ | ||
| + | ==== 2 correctifs | ||
| + | |||
| + | === premier pb === | ||
| + | |||
| + | cf logs | ||
| + | |||
| + | 2026-01-26 17: | ||
| + | |||
| + | |||
| + | |||
| + | < | ||
| + | [root@cas cas-overlay-template]# | ||
| + | To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https:// | ||
| + | Daemon will be stopped at the end of the build | ||
| + | Configuration on demand is an incubating feature. | ||
| + | |||
| + | > Configure project : | ||
| + | Using Amazon Corretto as the JVM vendor for the Java toolchain | ||
| + | Building CAS version 7.2.6 with application server -tomcat | ||
| + | |||
| + | > Task : | ||
| + | |||
| + | [Incubating] Problems report is available at: file:/// | ||
| + | |||
| + | FAILURE: Build failed with an exception. | ||
| + | |||
| + | * What went wrong: | ||
| + | Execution failed for task ': | ||
| + | > Could not resolve all files for configuration ': | ||
| + | > Could not find cas-server-support-simple-mfa-7.2.6-casVersion' | ||
| + | | ||
| + | | ||
| + | </ | ||
| puis build | puis build | ||