记一个redis版本问题的错误

19:05:04.004 logback [main] INFO o.s.w.s.h.SimpleUrlHandlerMapping - Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
19:05:06.406 logback [main] WARN o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘enableRedisKeyspaceNotificationsInitializer’ defined in class path resource [org/springframework/boot/autoconfigure/session/RedisSessionConfiguration$SpringBootRedisHttpSessionConfiguration.class]: Invocation of init method failed; nested exception is org.springframework.dao.InvalidDataAccessApiUsageException: ERR Unsupported CONFIG parameter: notify-keyspace-events; nested exception is redis.clients.jedis.exceptions.JedisDataException: ERR Unsupported CONFIG parameter: notify-keyspace-events
19:05:06.411 logback [main] INFO o.s.j.e.a.AnnotationMBeanExporter - Unregistering JMX-exposed beans on shutdown
19:05:06.417 logback [main] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean - Closing JPA EntityManagerFactory for persistence unit ‘default’
19:05:06.449 logback [main] INFO o.s.b.a.l.AutoConfigurationReportLoggingInitializer -

Error starting ApplicationContext. To display the auto-configuration report re-run your application with ‘debug’ enabled.
19:05:06.464 logback [main] ERROR o.s.boot.SpringApplication - Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘enableRedisKeyspaceNotificationsInitializer’ defined in class path resource [org/springframework/boot/autoconfigure/session/RedisSessionConfiguration$SpringBootRedisHttpSessionConfiguration.class]: Invocation of init method failed; nested exception is org.springframework.dao.InvalidDataAccessApiUsageException: ERR Unsupported CONFIG parameter: notify-keyspace-events; nested exception is redis.clients.jedis.exceptions.JedisDataException: ERR Unsupported CONFIG parameter: notify-keyspace-events
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1628)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory 1. g e t O b j e c t ( A b s t r a c t B e a n F a c t o r y . j a v a : 306 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . D e f a u l t S i n g l e t o n B e a n R e g i s t r y . g e t S i n g l e t o n ( D e f a u l t S i n g l e t o n B e a n R e g i s t r y . j a v a : 230 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t B e a n F a c t o r y . d o G e t B e a n ( A b s t r a c t B e a n F a c t o r y . j a v a : 302 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . A b s t r a c t B e a n F a c t o r y . g e t B e a n ( A b s t r a c t B e a n F a c t o r y . j a v a : 197 ) a t o r g . s p r i n g f r a m e w o r k . b e a n s . f a c t o r y . s u p p o r t . D e f a u l t L i s t a b l e B e a n F a c t o r y . p r e I n s t a n t i a t e S i n g l e t o n s ( D e f a u l t L i s t a b l e B e a n F a c t o r y . j a v a : 761 ) a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . s u p p o r t . A b s t r a c t A p p l i c a t i o n C o n t e x t . f i n i s h B e a n F a c t o r y I n i t i a l i z a t i o n ( A b s t r a c t A p p l i c a t i o n C o n t e x t . j a v a : 867 ) a t o r g . s p r i n g f r a m e w o r k . c o n t e x t . s u p p o r t . A b s t r a c t A p p l i c a t i o n C o n t e x t . r e f r e s h ( A b s t r a c t A p p l i c a t i o n C o n t e x t . j a v a : 543 ) a t o r g . s p r i n g f r a m e w o r k . b o o t . c o n t e x t . e m b e d d e d . E m b e d d e d W e b A p p l i c a t i o n C o n t e x t . r e f r e s h ( E m b e d d e d W e b A p p l i c a t i o n C o n t e x t . j a v a : 122 ) a t o r g . s p r i n g f r a m e w o r k . b o o t . S p r i n g A p p l i c a t i o n . r e f r e s h ( S p r i n g A p p l i c a t i o n . j a v a : 693 ) a t o r g . s p r i n g f r a m e w o r k . b o o t . S p r i n g A p p l i c a t i o n . r e f r e s h C o n t e x t ( S p r i n g A p p l i c a t i o n . j a v a : 360 ) a t o r g . s p r i n g f r a m e w o r k . b o o t . S p r i n g A p p l i c a t i o n . r u n ( S p r i n g A p p l i c a t i o n . j a v a : 303 ) a t o r g . s p r i n g f r a m e w o r k . b o o t . w e b . s u p p o r t . S p r i n g B o o t S e r v l e t I n i t i a l i z e r . r u n ( S p r i n g B o o t S e r v l e t I n i t i a l i z e r . j a v a : 151 ) a t o r g . s p r i n g f r a m e w o r k . b o o t . w e b . s u p p o r t . S p r i n g B o o t S e r v l e t I n i t i a l i z e r . c r e a t e R o o t A p p l i c a t i o n C o n t e x t ( S p r i n g B o o t S e r v l e t I n i t i a l i z e r . j a v a : 131 ) a t o r g . s p r i n g f r a m e w o r k . b o o t . w e b . s u p p o r t . S p r i n g B o o t S e r v l e t I n i t i a l i z e r . o n S t a r t u p ( S p r i n g B o o t S e r v l e t I n i t i a l i z e r . j a v a : 86 ) a t o r g . s p r i n g f r a m e w o r k . w e b . S p r i n g S e r v l e t C o n t a i n e r I n i t i a l i z e r . o n S t a r t u p ( S p r i n g S e r v l e t C o n t a i n e r I n i t i a l i z e r . j a v a : 169 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . S t a n d a r d C o n t e x t . s t a r t I n t e r n a l ( S t a n d a r d C o n t e x t . j a v a : 5055 ) a t o r g . a p a c h e . c a t a l i n a . u t i l . L i f e c y c l e B a s e . s t a r t ( L i f e c y c l e B a s e . j a v a : 183 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . C o n t a i n e r B a s e . a d d C h i l d I n t e r n a l ( C o n t a i n e r B a s e . j a v a : 742 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . C o n t a i n e r B a s e . a d d C h i l d ( C o n t a i n e r B a s e . j a v a : 718 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . S t a n d a r d H o s t . a d d C h i l d ( S t a n d a r d H o s t . j a v a : 703 ) a t o r g . a p a c h e . c a t a l i n a . s t a r t u p . H o s t C o n f i g . d e p l o y W A R ( H o s t C o n f i g . j a v a : 986 ) a t o r g . a p a c h e . c a t a l i n a . s t a r t u p . H o s t C o n f i g 1.getObject(AbstractBeanFactory.java:306) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543) at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) at org.springframework.boot.web.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:151) at org.springframework.boot.web.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:131) at org.springframework.boot.web.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:86) at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:169) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5055) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:742) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:718) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:703) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:986) at org.apache.catalina.startup.HostConfig 1.getObject(AbstractBeanFactory.java:306)atorg.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)atorg.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)atorg.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)atorg.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)atorg.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)atorg.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)atorg.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)atorg.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)atorg.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)atorg.springframework.boot.SpringApplication.run(SpringApplication.java:303)atorg.springframework.boot.web.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:151)atorg.springframework.boot.web.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:131)atorg.springframework.boot.web.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:86)atorg.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:169)atorg.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5055)atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)atorg.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:742)atorg.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:718)atorg.apache.catalina.core.StandardHost.addChild(StandardHost.java:703)atorg.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:986)atorg.apache.catalina.startup.HostConfigDeployWar.run(HostConfig.java:1857)
at java.util.concurrent.Executors R u n n a b l e A d a p t e r . c a l l ( E x e c u t o r s . j a v a : 511 ) a t j a v a . u t i l . c o n c u r r e n t . F u t u r e T a s k . r u n ( F u t u r e T a s k . j a v a : 266 ) a t o r g . a p a c h e . t o m c a t . u t i l . t h r e a d s . I n l i n e E x e c u t o r S e r v i c e . e x e c u t e ( I n l i n e E x e c u t o r S e r v i c e . j a v a : 75 ) a t j a v a . u t i l . c o n c u r r e n t . A b s t r a c t E x e c u t o r S e r v i c e . s u b m i t ( A b s t r a c t E x e c u t o r S e r v i c e . j a v a : 112 ) a t o r g . a p a c h e . c a t a l i n a . s t a r t u p . H o s t C o n f i g . d e p l o y W A R s ( H o s t C o n f i g . j a v a : 772 ) a t o r g . a p a c h e . c a t a l i n a . s t a r t u p . H o s t C o n f i g . d e p l o y A p p s ( H o s t C o n f i g . j a v a : 426 ) a t o r g . a p a c h e . c a t a l i n a . s t a r t u p . H o s t C o n f i g . s t a r t ( H o s t C o n f i g . j a v a : 1585 ) a t o r g . a p a c h e . c a t a l i n a . s t a r t u p . H o s t C o n f i g . l i f e c y c l e E v e n t ( H o s t C o n f i g . j a v a : 308 ) a t o r g . a p a c h e . c a t a l i n a . u t i l . L i f e c y c l e B a s e . f i r e L i f e c y c l e E v e n t ( L i f e c y c l e B a s e . j a v a : 123 ) a t o r g . a p a c h e . c a t a l i n a . u t i l . L i f e c y c l e B a s e . s e t S t a t e I n t e r n a l ( L i f e c y c l e B a s e . j a v a : 424 ) a t o r g . a p a c h e . c a t a l i n a . u t i l . L i f e c y c l e B a s e . s e t S t a t e ( L i f e c y c l e B a s e . j a v a : 367 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . C o n t a i n e r B a s e . s t a r t I n t e r n a l ( C o n t a i n e r B a s e . j a v a : 966 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . S t a n d a r d H o s t . s t a r t I n t e r n a l ( S t a n d a r d H o s t . j a v a : 839 ) a t o r g . a p a c h e . c a t a l i n a . u t i l . L i f e c y c l e B a s e . s t a r t ( L i f e c y c l e B a s e . j a v a : 183 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . C o n t a i n e r B a s e RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:772) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:426) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1585) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:308) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424) at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:966) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:839) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase RunnableAdapter.call(Executors.java:511)atjava.util.concurrent.FutureTask.run(FutureTask.java:266)atorg.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)atjava.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)atorg.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:772)atorg.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:426)atorg.apache.catalina.startup.HostConfig.start(HostConfig.java:1585)atorg.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:308)atorg.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)atorg.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)atorg.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)atorg.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:966)atorg.apache.catalina.core.StandardHost.startInternal(StandardHost.java:839)atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)atorg.apache.catalina.core.ContainerBaseStartChild.call(ContainerBase.java:1427)
at org.apache.catalina.core.ContainerBase S t a r t C h i l d . c a l l ( C o n t a i n e r B a s e . j a v a : 1417 ) a t j a v a . u t i l . c o n c u r r e n t . F u t u r e T a s k . r u n ( F u t u r e T a s k . j a v a : 266 ) a t o r g . a p a c h e . t o m c a t . u t i l . t h r e a d s . I n l i n e E x e c u t o r S e r v i c e . e x e c u t e ( I n l i n e E x e c u t o r S e r v i c e . j a v a : 75 ) a t j a v a . u t i l . c o n c u r r e n t . A b s t r a c t E x e c u t o r S e r v i c e . s u b m i t ( A b s t r a c t E x e c u t o r S e r v i c e . j a v a : 134 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . C o n t a i n e r B a s e . s t a r t I n t e r n a l ( C o n t a i n e r B a s e . j a v a : 943 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . S t a n d a r d E n g i n e . s t a r t I n t e r n a l ( S t a n d a r d E n g i n e . j a v a : 258 ) a t o r g . a p a c h e . c a t a l i n a . u t i l . L i f e c y c l e B a s e . s t a r t ( L i f e c y c l e B a s e . j a v a : 183 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . S t a n d a r d S e r v i c e . s t a r t I n t e r n a l ( S t a n d a r d S e r v i c e . j a v a : 422 ) a t o r g . a p a c h e . c a t a l i n a . u t i l . L i f e c y c l e B a s e . s t a r t ( L i f e c y c l e B a s e . j a v a : 183 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . S t a n d a r d S e r v e r . s t a r t I n t e r n a l ( S t a n d a r d S e r v e r . j a v a : 770 ) a t o r g . a p a c h e . c a t a l i n a . u t i l . L i f e c y c l e B a s e . s t a r t ( L i f e c y c l e B a s e . j a v a : 183 ) a t o r g . a p a c h e . c a t a l i n a . s t a r t u p . C a t a l i n a . s t a r t ( C a t a l i n a . j a v a : 682 ) a t s u n . r e f l e c t . N a t i v e M e t h o d A c c e s s o r I m p l . i n v o k e 0 ( N a t i v e M e t h o d ) a t s u n . r e f l e c t . N a t i v e M e t h o d A c c e s s o r I m p l . i n v o k e ( N a t i v e M e t h o d A c c e s s o r I m p l . j a v a : 62 ) a t s u n . r e f l e c t . D e l e g a t i n g M e t h o d A c c e s s o r I m p l . i n v o k e ( D e l e g a t i n g M e t h o d A c c e s s o r I m p l . j a v a : 43 ) a t j a v a . l a n g . r e f l e c t . M e t h o d . i n v o k e ( M e t h o d . j a v a : 497 ) a t o r g . a p a c h e . c a t a l i n a . s t a r t u p . B o o t s t r a p . s t a r t ( B o o t s t r a p . j a v a : 350 ) a t o r g . a p a c h e . c a t a l i n a . s t a r t u p . B o o t s t r a p . m a i n ( B o o t s t r a p . j a v a : 492 ) C a u s e d b y : o r g . s p r i n g f r a m e w o r k . d a o . I n v a l i d D a t a A c c e s s A p i U s a g e E x c e p t i o n : E R R U n s u p p o r t e d C O N F I G p a r a m e t e r : n o t i f y − k e y s p a c e − e v e n t s ; n e s t e d e x c e p t i o n i s r e d i s . c l i e n t s . j e d i s . e x c e p t i o n s . J e d i s D a t a E x c e p t i o n : E R R U n s u p p o r t e d C O N F I G p a r a m e t e r : n o t i f y − k e y s p a c e − e v e n t s a t o r g . s p r i n g f r a m e w o r k . d a t a . r e d i s . c o n n e c t i o n . j e d i s . J e d i s E x c e p t i o n C o n v e r t e r . c o n v e r t ( J e d i s E x c e p t i o n C o n v e r t e r . j a v a : 64 ) a t o r g . s p r i n g f r a m e w o r k . d a t a . r e d i s . c o n n e c t i o n . j e d i s . J e d i s E x c e p t i o n C o n v e r t e r . c o n v e r t ( J e d i s E x c e p t i o n C o n v e r t e r . j a v a : 41 ) a t o r g . s p r i n g f r a m e w o r k . d a t a . r e d i s . P a s s T h r o u g h E x c e p t i o n T r a n s l a t i o n S t r a t e g y . t r a n s l a t e ( P a s s T h r o u g h E x c e p t i o n T r a n s l a t i o n S t r a t e g y . j a v a : 37 ) a t o r g . s p r i n g f r a m e w o r k . d a t a . r e d i s . F a l l b a c k E x c e p t i o n T r a n s l a t i o n S t r a t e g y . t r a n s l a t e ( F a l l b a c k E x c e p t i o n T r a n s l a t i o n S t r a t e g y . j a v a : 37 ) a t o r g . s p r i n g f r a m e w o r k . d a t a . r e d i s . c o n n e c t i o n . j e d i s . J e d i s C o n n e c t i o n . c o n v e r t J e d i s A c c e s s E x c e p t i o n ( J e d i s C o n n e c t i o n . j a v a : 242 ) a t o r g . s p r i n g f r a m e w o r k . d a t a . r e d i s . c o n n e c t i o n . j e d i s . J e d i s C o n n e c t i o n . s e t C o n f i g ( J e d i s C o n n e c t i o n . j a v a : 665 ) a t o r g . s p r i n g f r a m e w o r k . s e s s i o n . d a t a . r e d i s . c o n f i g . C o n f i g u r e N o t i f y K e y s p a c e E v e n t s A c t i o n . c o n f i g u r e ( C o n f i g u r e N o t i f y K e y s p a c e E v e n t s A c t i o n . j a v a : 68 ) a t o r g . s p r i n g f r a m e w o r k . s e s s i o n . d a t a . r e d i s . c o n f i g . a n n o t a t i o n . w e b . h t t p . R e d i s H t t p S e s s i o n C o n f i g u r a t i o n StartChild.call(ContainerBase.java:1417) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:943) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:258) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:770) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.startup.Catalina.start(Catalina.java:682) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492) Caused by: org.springframework.dao.InvalidDataAccessApiUsageException: ERR Unsupported CONFIG parameter: notify-keyspace-events; nested exception is redis.clients.jedis.exceptions.JedisDataException: ERR Unsupported CONFIG parameter: notify-keyspace-events at org.springframework.data.redis.connection.jedis.JedisExceptionConverter.convert(JedisExceptionConverter.java:64) at org.springframework.data.redis.connection.jedis.JedisExceptionConverter.convert(JedisExceptionConverter.java:41) at org.springframework.data.redis.PassThroughExceptionTranslationStrategy.translate(PassThroughExceptionTranslationStrategy.java:37) at org.springframework.data.redis.FallbackExceptionTranslationStrategy.translate(FallbackExceptionTranslationStrategy.java:37) at org.springframework.data.redis.connection.jedis.JedisConnection.convertJedisAccessException(JedisConnection.java:242) at org.springframework.data.redis.connection.jedis.JedisConnection.setConfig(JedisConnection.java:665) at org.springframework.session.data.redis.config.ConfigureNotifyKeyspaceEventsAction.configure(ConfigureNotifyKeyspaceEventsAction.java:68) at org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration StartChild.call(ContainerBase.java:1417)atjava.util.concurrent.FutureTask.run(FutureTask.java:266)atorg.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)atjava.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)atorg.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:943)atorg.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:258)atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)atorg.apache.catalina.core.StandardService.startInternal(StandardService.java:422)atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)atorg.apache.catalina.core.StandardServer.startInternal(StandardServer.java:770)atorg.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)atorg.apache.catalina.startup.Catalina.start(Catalina.java:682)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:497)atorg.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)atorg.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)Causedby:org.springframework.dao.InvalidDataAccessApiUsageException:ERRUnsupportedCONFIGparameter:notifykeyspaceevents;nestedexceptionisredis.clients.jedis.exceptions.JedisDataException:ERRUnsupportedCONFIGparameter:notifykeyspaceeventsatorg.springframework.data.redis.connection.jedis.JedisExceptionConverter.convert(JedisExceptionConverter.java:64)atorg.springframework.data.redis.connection.jedis.JedisExceptionConverter.convert(JedisExceptionConverter.java:41)atorg.springframework.data.redis.PassThroughExceptionTranslationStrategy.translate(PassThroughExceptionTranslationStrategy.java:37)atorg.springframework.data.redis.FallbackExceptionTranslationStrategy.translate(FallbackExceptionTranslationStrategy.java:37)atorg.springframework.data.redis.connection.jedis.JedisConnection.convertJedisAccessException(JedisConnection.java:242)atorg.springframework.data.redis.connection.jedis.JedisConnection.setConfig(JedisConnection.java:665)atorg.springframework.session.data.redis.config.ConfigureNotifyKeyspaceEventsAction.configure(ConfigureNotifyKeyspaceEventsAction.java:68)atorg.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfigurationEnableRedisKeyspaceNotificationsInitializer.afterPropertiesSet(RedisHttpSessionConfiguration.java:251)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1687)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1624)
… 57 common frames omitted
Caused by: redis.clients.jedis.exceptions.JedisDataException: ERR Unsupported CONFIG parameter: notify-keyspace-events
at redis.clients.jedis.Protocol.processError(Protocol.java:127)
at redis.clients.jedis.Protocol.process(Protocol.java:161)
at redis.clients.jedis.Protocol.read(Protocol.java:215)
at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:340)
at redis.clients.jedis.Connection.getStatusCodeReply(Connection.java:239)
at redis.clients.jedis.Jedis.configSet(Jedis.java:2664)
at org.springframework.data.redis.connection.jedis.JedisConnection.setConfig(JedisConnection.java:663)
… 61 common frames omitted

解决方法:换redis版本 或者写什么配置我也忘了
我是把2.6的版本换成了2.8 成功解决

猜你喜欢

转载自blog.csdn.net/qq_35189120/article/details/90243157