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


Solutions on the web

Solution icon of github
'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

Solution icon of github
via GitHub by mrcasablr
, 8 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

Solution icon of github
via GitHub by mrcasablr
, 1 month 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

Stack trace

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)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.