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 web19704

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
, 6 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 stackoverflow
Error creating bean with name '(inner bean)#11d0bbc': Cannot resolve reference to bean 'entityManagerFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'entityManagerFactory' available

Solution icon of stackoverflow
Error creating bean with name '(inner bean)#4f327418': Cannot resolve reference to bean 'entityManagerFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'entityManagerFactory' available

Solution icon of github
via GitHub by hendisantika
, 3 months ago
Error creating bean with name 'metaDataSourceAdvisor': Cannot resolve reference to bean 'methodSecurityMetadataSource' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating

Solution icon of stackoverflow
Error creating bean with name '(inner bean)#5b63d1be': Cannot resolve reference to bean 'entityManagerFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'entityManagerFactory' is defined

Solution icon of stackoverflow
via Stack Overflow by imme
, 1 year ago
Error creating bean with name '(inner bean)#1': Cannot resolve reference to bean 'entityManagerFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'entityManagerFactory' is defined

Solution icon of web
Error creating bean with name '(inner bean)#1ba35ef': Cannot resolve reference to bean 'entityManagerFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'entityManagerFactory' is defined

Solution icon of stackoverflow
Error creating bean with name '(inner bean)#1ba35ef': Cannot resolve reference to bean 'entityManagerFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'entityManagerFactory' is defined

Solution icon of web
Error creating bean with name '(inner bean)#59f4e49e': Cannot resolve reference to bean 'entityManagerFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'entityManagerFactory' is defined

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.