org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'redisReferenceResolver': Cannot resolve reference to bean 'redisTemplate' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'redisTemplate' available> Hibernate: drop table if exists COM_AUDIT_TRAIL cascade Exception in thread "org.apereo.cas.services.JsonServiceRegistryDao" 2017-01-10 20:05:39,195 WARN [org.apereo.cas.services.ServiceRegistryConfigWatcher] - <Directory key is no longer valid. Quitting watcher service> java.nio.file.ClosedWatchServiceException

Hot problem!
This exception has a lot of traffic. You can help 18 users by writing a short tip.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by mrcasablr
, 1 year ago
'redisTemplate' available> Hibernate: drop table if exists COM_AUDIT_TRAIL cascade Exception in thread "org.apereo.cas.services.JsonServiceRegistryDao" 2017-01-10 20:05:39,195 WARN [org.apereo.cas.services.ServiceRegistryConfigWatcher] - <Directory key is no longer valid. Quitting watcher service> java.nio.file.ClosedWatchServiceException
via GitHub by mrcasablr
, 11 months ago
resolved to URL because it does not exist> Hibernate: drop table if exists COM_AUDIT_TRAIL cascade Exception in thread "org.apereo.cas.services.JsonServiceRegistryDao" 2017-01-24 18:00:12,845 WARN [org.apereo.cas.services.ServiceRegistryConfigWatcher] - <Directory key is no longer valid. Quitting watcher service> java.nio.file.ClosedWatchServiceException
via GitHub by mrcasablr
, 4 months ago
Error creating bean with name 'scopedTarget.dynamoDbServiceRegistryFacilitator' defined in class path resource [org/apereo/cas/config/DynamoDbServiceRegistryConfiguration.class]: Bean instantiation via factory method failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'redisReferenceResolver': Cannot resolve reference to bean 'redisTemplate' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'redisTemplate' available> Hibernate: drop table if exists COM_AUDIT_TRAIL cascade Exception in thread "org.apereo.cas.services.JsonServiceRegistryDao" 2017-01-10 20:05:39,195 WARN [org.apereo.cas.services.ServiceRegistryConfigWatcher] - <Directory key is no longer valid. Quitting watcher service> java.nio.file.ClosedWatchServiceException
at sun.nio.fs.AbstractWatchService.checkOpen(AbstractWatchService.java:80)
at sun.nio.fs.AbstractWatchService.checkKey(AbstractWatchService.java:92)
at sun.nio.fs.AbstractWatchService.take(AbstractWatchService.java:119)
at org.apereo.cas.services.ServiceRegistryConfigWatcher.run(ServiceRegistryConfigWatcher.java:72)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.