solvingj
12/30/2023, 5:48 PMloke
12/31/2023, 9:05 AMIncompatible because this component declares a component for use during compile-time, compatible with Java 17 and the consumer needed a component for use during runtime, compatible with Java 11
You need to use Java 17.solvingj
12/31/2023, 6:29 PMsolvingj
12/31/2023, 6:31 PMloke
01/01/2024, 4:18 PMsolvingj
01/02/2024, 2:49 PMCLOVIS
01/02/2024, 3:07 PMCLOVIS
01/02/2024, 3:07 PMI switched to java 17. The error persists.Are you running Gradle in the CLI, in IntelliJ, or some other way?
solvingj
01/02/2024, 3:08 PMCLOVIS
01/02/2024, 3:08 PMsolvingj
01/02/2024, 3:09 PMsolvingj
01/02/2024, 3:09 PMsolvingj
01/02/2024, 3:09 PMsolvingj
01/02/2024, 3:10 PMCLOVIS
01/02/2024, 3:10 PM./gradlew --version
, if you have a way to run thatCLOVIS
01/02/2024, 3:10 PMrm -rf ~/.gradle .gradle
(first one is user-level cache, second one is project-level cache, ensure you run that wherever gradlew
is)solvingj
01/02/2024, 3:11 PMCLOVIS
01/02/2024, 3:11 PMCLOVIS
01/02/2024, 3:11 PM~/.gradle/caches/modules-2
or something like that IIRCsolvingj
01/02/2024, 3:12 PM~/.m2
directory or somethingsolvingj
01/02/2024, 3:12 PMCLOVIS
01/02/2024, 3:13 PMsolvingj
01/02/2024, 3:13 PMsolvingj
01/02/2024, 3:13 PMCLOVIS
01/02/2024, 3:13 PM.gradle
dirssolvingj
01/02/2024, 3:14 PMCLOVIS
01/02/2024, 3:14 PMsolvingj
01/02/2024, 3:15 PMCLOVIS
01/02/2024, 3:15 PMsolvingj
01/02/2024, 3:19 PMsolvingj
01/02/2024, 3:20 PMCLOVIS
01/02/2024, 3:20 PMCLOVIS
01/02/2024, 3:20 PMCLOVIS
01/02/2024, 3:21 PMCLOVIS
01/02/2024, 3:21 PMsolvingj
01/02/2024, 3:25 PMCLOVIS
01/02/2024, 3:33 PM