After the server is shut down, restart it, and start the web application log on it to print an error. Error creating bean with name ‘enablererediskeyspacenotificationsinitializer’ searches the Internet and finds that many of the answers are caused by the redis annotation related to springboot, and it is necessary to set redis.
But the problem is that this is not springboot, and there is no redis setting, because it was good before. After a long time, none of the reliable people suddenly thought about whether the problem lies in redis. Let’s take a look at the process of redis first,
ps -ef | grep Redis
Sure enough, redis didn’t start at all. First, open the redis service and see if it will change and if the error will change
Find the redis location
Find – name redis cli
(if redis or other services start, you can find the process number such as 12345, ll/proc/12345/CWD through PS – EF | grep XXXX to find the corresponding service location. )
Start the redis service
to the corresponding path to start the service
redis server /Redis conf
(note that the paths of redis server and redis conf are at the same level or not. )
Service start, web application process kill and restart, no error. So the reason for this error is related to whether the redis service is started or not.
Read More:
- Error creating bean with name ‘application‘: Instantiation of bean failed;
- Error creating bean with name ‘redissonclient’:
- Error creating bean with name ‘xxcontroller’
- Idea SpringBoot:Error creating bean with name ‘XXXXController‘
- Error creating bean with name ‘lettuceClientResources‘ defined in class path resource
- Error creating bean with name ‘redisTemplate‘ defined in class path resource [xx/RedisConfig.class]
- Springboot startup exception: error creating bean with name ‘permissioncontroller’
- Error creating bean with name usercontroller appears when springboot starts
- Error creating bean with name ‘helloController‘: Injection of autowired dependencies failed;
- About error creating bean with name ‘xxxxx’: invocation of init method
- elasticsearch NoClassDefFoundError error creating RestHighLevelClient bean
- org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name
- Error creating bean with name ‘datasource’ defined in class path resource
- Spring AOP is an error creating bean with name
- Springboot error creating bean with name ‘xmlmodelplug’:
- Error creating bean with name ‘requestMappingHandlerAdapter‘ defined in class path resource
- Error creating bean with name ‘configurationPropertiesBeans‘ defined in class path resource
- Error creating bean with name xxxxxx : unsatisfied dependency…
- org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘use
- Error creating bean with name ‘sqlsessionfactory’ defined in ServletContext resource)