Open ThraaxSession opened 1 year ago
Added this
@TypeHint(
typeNames = [
"com.github.benmanes.caffeine.cache.SSMS"
]
)
15:08:59.530 [main] ERROR io.micronaut.runtime.Micronaut - Error starting Micronaut server: Bean definition [io.micronaut.cache.interceptor.CacheInterceptor] could not be loaded: Error instantiating bean of type [io.micronaut.cache.DefaultCacheManager]
Message: java.lang.NoSuchFieldException: drainStatus
Path Taken: new CacheInterceptor(CacheManager cacheManager,CacheErrorHandler errorHandler,AsyncCacheErrorHandler asyncCacheErrorHandler,ExecutorService ioExecutor,BeanContext beanContext) --> new CacheInterceptor([CacheManager cacheManager],CacheErrorHandler errorHandler,AsyncCacheErrorHandler asyncCacheErrorHandler,ExecutorService ioExecutor,BeanContext beanContext) --> new DefaultCacheManager([List caches],BeanProvider dynamicCacheManager)
io.micronaut.context.exceptions.BeanInstantiationException: Bean definition [io.micronaut.cache.interceptor.CacheInterceptor] could not be loaded: Error instantiating bean of type [io.micronaut.cache.DefaultCacheManager]
Expected Behavior
The build works fine + the application starts like the normal JVM version.
Actual Behaviour
Due runtime I get this error
Steps To Reproduce
I use this dependency:
implementation("io.micronaut.cache:micronaut-cache-caffeine:3.5.0")
Environment Information
Related issue
https://github.com/micronaut-projects/micronaut-security/issues/197
Version
3.6.0