java.util.ServiceConfigurationError: javax.cache.spi.CachingProvider: Provider org.infinispan.jcache.embedded.JCachingProvider could not be instantiated

  1. 0

    GitHub comment 33#156193991

    GitHub | 1 year ago | ben-manes
    java.util.ServiceConfigurationError: javax.cache.spi.CachingProvider: Provider com.github.benmanes.caffeine.jcache.spi.CaffeineCachingProvider not a subtype
  2. 0

    Error while executing the project

    GitHub | 2 weeks ago | RavishankarHassain-Inmarsat
    java.util.ServiceConfigurationError: javax.cache.spi.CachingProvider: Provider org.infinispan.jcache.embedded.JCachingProvider could not be instantiated
  3. 0

    I'm getting "No CachingProviders have been configured" Exception

    GitHub | 3 years ago | hakdogan
    javax.cache.CacheException: No CachingProviders have been configured
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 196#73058947

    GitHub | 2 years ago | dmatej
    javax.cache.CacheException: Multiple CachingProviders have been configured when only a single CachingProvider is expected
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.infinispan.util.logging.LogFactory

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    3. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    3 frames
  3. org.infinispan.jcache
    JCachingProvider.<clinit>
    1. org.infinispan.jcache.embedded.JCachingProvider.<clinit>(JCachingProvider.java:25)
    1 frame
  4. Java RT
    ServiceLoader$1.next
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    5. java.lang.Class.newInstance(Class.java:442)
    6. java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
    7. java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
    8. java.util.ServiceLoader$1.next(ServiceLoader.java:480)
    8 frames
  5. Google AppEngine
    Caching$CachingProviderRegistry$1.run
    1. javax.cache.Caching$CachingProviderRegistry$1.run(Caching.java:438)
    2. javax.cache.Caching$CachingProviderRegistry$1.run(Caching.java:432)
    2 frames
  6. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  7. Google AppEngine
    Caching.getCachingProvider
    1. javax.cache.Caching$CachingProviderRegistry.getCachingProviders(Caching.java:432)
    2. javax.cache.Caching$CachingProviderRegistry.getCachingProvider(Caching.java:370)
    3. javax.cache.Caching$CachingProviderRegistry.getCachingProvider(Caching.java:351)
    4. javax.cache.Caching.getCachingProvider(Caching.java:142)
    4 frames
  8. Camel :: Core
    ScheduledPollConsumer.run
    1. org.apache.camel.component.file.strategy.CachedFileChangedExclusiveReadLockStrategy.prepareOnStartup(CachedFileChangedExclusiveReadLockStrategy.java:52)
    2. org.apache.camel.component.file.strategy.GenericFileProcessStrategySupport.prepareOnStartup(GenericFileProcessStrategySupport.java:42)
    3. org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:108)
    4. org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:175)
    5. org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:102)
    5 frames
  9. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    7. java.lang.Thread.run(Thread.java:745)
    7 frames