linkedin / ambry

Distributed object store
https://github.com/linkedin/ambry/wiki
Apache License 2.0
1.73k stars 274 forks source link

Caffeine error while doing build #2200

Open chayan-blip opened 1 year ago

chayan-blip commented 1 year ago

Hi I am getting an error while doing build

import com.github.benmanes.caffeine.cache.Cache; ^ bad class file: C:\Users\abcd.gradle\caches\modules-2\files-2.1\com.github.ben-manes.caffeine\caffeine\3.1.1\b08f9f234ae51adf8b7a3dcdfcf115aa258fafcb\caffeine-3.1.1.jar(com/github/benmanes/caffeine/cache/Cache.class) class file has wrong version 55.0, should be 52.0 Please remove or make sure it appears in the correct subdirectory of the classpath.

kvtb commented 1 year ago

Build-time JDK should be 11+, and Gradle at most 5.x (Gradle 6.x and 7.x will hit that caffeine mismatch even earlier)