Hello, indeed, there is no guava-3.1.1.jar file at https://jitpack.io/com/github/ben-manes/caffeine/guava/3.1.1/. Instead, it is available as https://jitpack.io/com/github/ben-manes/caffeine/guava/v3.1.1/guava-v3.1.1.jar. >From my quick research, this is caused by the fact that JitPack relies on project's Git *tags *which it uses as artifact's *versions*, for some reason *1:1 *("v3.1.1" in this case).
Anyway, from your build log, it looks like you don't use the Maven *Central *repository for your build, which is generally not a good idea. At https://mvnrepository.com/artifact/com.github.ben-manes.caffeine/guava/3.1.1, you can see the artifact is available right there - in the *Central*. So make sure you've got something like this in your build.gradle: dependencyResolutionManagement { repositories { mavenCentral() maven { url 'https://jitpack.io' } } } AFAIK, if you clone a CAS project to build it, it should already have things like using *mavenCentral()* (or even jitpack.io) included in its Gradle configuration files. Regards Petr On Wednesday 3 January 2024 at 10:18:58 UTC+1 wouldsmina wrote: > Hello, > > I'm trying to install CAS 6.6 but I get this error : > FAILURE: Build failed with an exception. > What went wrong: > Execution failed for task ':compileJava'. > Could not resolve all files for configuration ':compileClasspath'. > Could not find guava-3.1.1.jar (com.github.ben-manes.caffeine:guava:3.1.1). > Searched in the following locations: > > https://jitpack.io/com/github/ben-manes/caffeine/guava/3.1.1/guava-3.1.1.jar > > Indeed, there is no guava-3.1.1.jar file in > https://jitpack.io/com/github/ben-manes/caffeine/guava/3.1.1/ > > How to bypass the absence of this package on the JitPack repository? > > Thanks. > -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/d0f3f0ab-d074-4646-9921-39304fb7b244n%40apereo.org.
