groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Narahari Lakshminarayana <>
Subject Why would this not work ? - No CachingProviders have been configured
Date Fri, 27 Nov 2020 23:34:58 GMT

I have the following code that is not working.

    @Grab(group='org.mnode.ical4j', module='ical4j', version='3.0.20')
    @Grab(group='javax.cache', module='cache-api', version='1.1.1')
    @Grab(group='com.github.ben-manes.caffeine', module='caffeine',

import javax.cache.spi.*;
import javax.cache.*;
import javax.cache.configuration.*;
import com.github.benmanes.caffeine.*;

CachingProvider cachingProvider = Caching.getCachingProvider();

I get the following error

javax.cache.CacheException: No CachingProviders have been configured


Not sure what is wrong in the above code.

Please help.


View raw message