linkedin / linkedin/ambry

Caffeine error while doing build

Open
#2,200 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.8k
Forks
298
Avg merge
21h 43m
Merged PRs (30d)
9

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by checking the Gradle build configuration and the Caffeine 3.1.1 dependency referenced in the error. Compare the Java version used for the build with the version expected by the dependency, then verify that the project builds without the class-file version error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.