org.hibernate.boot.registry.selector.spi.StrategySelectionException: Could not instantiate named strategy class [org.hibernate.cache.redis.hibernate5.SingletonRedisRegionFactory]

GitHub | nileshprataprao | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    SingletonRedisRegionFactory is not loading in spring xml based config

    GitHub | 6 months ago | nileshprataprao
    org.hibernate.boot.registry.selector.spi.StrategySelectionException: Could not instantiate named strategy class [org.hibernate.cache.redis.hibernate5.SingletonRedisRegionFactory]

    Root Cause Analysis

    1. java.lang.NoSuchMethodException

      org.hibernate.cache.redis.hibernate5.SingletonRedisRegionFactory.<init>()

      at java.lang.Class.getConstructor0()
    2. Java RT
      Class.newInstance
      1. java.lang.Class.getConstructor0(Class.java:3082)
      2. java.lang.Class.newInstance(Class.java:412)
      2 frames