skip to Main Content

While building the project getting below error:

error: package org.cache2k.integration does not exist
import org.cache2k.integration.CacheLoader;

Screenshot of error

enter image description here

Setup details under build.gradle file:

targetCompatibility = '17'

sourceCompatibility = '17'

plugins {

    id 'java'
    id 'org.springframework.boot' version '3.1.2' apply false
    id 'io.spring.dependency-management' version '1.1.2' apply false      
}

2

Answers


  1. org.cache2k.integration was deprecated. see here https://cache2k.org/2/0.0.Final.html. use org.cache2k.io instead

    Login or Signup to reply.
  2. Can use cache2k-spring, for example:

    implementation group: 'org.cache2k', name: 'cache2k-spring', version: '2.6.1.Final'
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search