We have to use hibernate-core 6.0.0 which uses jakarta persistence package. So we have updated all the necessary libraries and used 6.2.1-final for hibernate-core and 6.0.0-Alpha7 for hibernate-ehcache. EhcacheRegionFactory class of hibernate-ehcache is using SecondLevelCacheLogger class of hibernate-core where the variable INSTANCE was renamed to L2CACHE_LOGGER but still ehcacheRegionFactory is expecting variable INSTANCE. So I am getting errors and not able to run the application java.lang.NoSuchFieldError: INSTANCE I wanted to know if there is any version of hibernate-ehcache that is compatible with the latest changes in hibernate-core because this is something that is a must to have if such big libraries are not compatible how can we upgrade libraries? This is a blocker to us and we are not getting any solution to this. Please look into this and let me know if anything else is required from my side. |