{"action":"closed","issue":{"url":"https://api.github.com/repos/spring-projects/spring-session/issues/940","repository_url":"https://api.github.com/repos/spring-projects/spring-session","labels_url":"https://api.github.com/repos/spring-projects/spring-session/issues/940/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-session/issues/940/comments","events_url":"https://api.github.com/repos/spring-projects/spring-session/issues/940/events","html_url":"https://github.com/spring-projects/spring-session/issues/940","id":277051990,"number":940,"title":"Issues with lettuce 430","user":{"login":"cooligc","id":8236744,"avatar_url":"https://avatars1.githubusercontent.com/u/8236744?v=4","gravatar_id":"","url":"https://api.github.com/users/cooligc","html_url":"https://github.com/cooligc","followers_url":"https://api.github.com/users/cooligc/followers","following_url":"https://api.github.com/users/cooligc/following{/other_user}","gists_url":"https://api.github.com/users/cooligc/gists{/gist_id}","starred_url":"https://api.github.com/users/cooligc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cooligc/subscriptions","organizations_url":"https://api.github.com/users/cooligc/orgs","repos_url":"https://api.github.com/users/cooligc/repos","events_url":"https://api.github.com/users/cooligc/events{/privacy}","received_events_url":"https://api.github.com/users/cooligc/received_events","type":"User","site_admin":false},"labels":[{"id":108462543,"url":"https://api.github.com/repos/spring-projects/spring-session/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":{"login":"vpavic","id":1149230,"avatar_url":"https://avatars1.githubusercontent.com/u/1149230?v=4","gravatar_id":"","url":"https://api.github.com/users/vpavic","html_url":"https://github.com/vpavic","followers_url":"https://api.github.com/users/vpavic/followers","following_url":"https://api.github.com/users/vpavic/following{/other_user}","gists_url":"https://api.github.com/users/vpavic/gists{/gist_id}","starred_url":"https://api.github.com/users/vpavic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpavic/subscriptions","organizations_url":"https://api.github.com/users/vpavic/orgs","repos_url":"https://api.github.com/users/vpavic/repos","events_url":"https://api.github.com/users/vpavic/events{/privacy}","received_events_url":"https://api.github.com/users/vpavic/received_events","type":"User","site_admin":false},"assignees":[{"login":"vpavic","id":1149230,"avatar_url":"https://avatars1.githubusercontent.com/u/1149230?v=4","gravatar_id":"","url":"https://api.github.com/users/vpavic","html_url":"https://github.com/vpavic","followers_url":"https://api.github.com/users/vpavic/followers","following_url":"https://api.github.com/users/vpavic/following{/other_user}","gists_url":"https://api.github.com/users/vpavic/gists{/gist_id}","starred_url":"https://api.github.com/users/vpavic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpavic/subscriptions","organizations_url":"https://api.github.com/users/vpavic/orgs","repos_url":"https://api.github.com/users/vpavic/repos","events_url":"https://api.github.com/users/vpavic/events{/privacy}","received_events_url":"https://api.github.com/users/vpavic/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2017-11-27T15:12:07Z","updated_at":"2017-12-04T19:57:10Z","closed_at":"2017-12-04T19:57:10Z","author_association":"NONE","body":"<!--\r\nThanks for raising a Spring Session issue. Please provide a brief description of your problem along with the version of Spring Session that you are using. If possible, please also consider putting together a sample application that reproduces the issue.\r\n-->\r\n\r\nHi Team,\r\n\r\nI am working on spring-session-data-redis 3.1.1 . I am getting the below stack trace.\r\n\r\n`2017-11-27 20:24:53 ERROR o.s.web.context.ContextLoader - Context initialization failed\r\norg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myKey' defined in class path resource [org/springframework/session/data/redis/config/annotation/web/http/RedisHttpSessionConfiguration.class]: Invocation of init method failed; nested exception is java.lang.IncompatibleClassChangeError: class org.springframework.data.redis.connection.lettuce.BytesRedisCodec has interface com.lambdaworks.redis.codec.RedisCodec as super class\r\n        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1583)\r\n        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)\r\n        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)\r\n        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)\r\n        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)\r\n        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)\r\n        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)\r\n        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:754)\r\n        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:866)\r\n        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)\r\n        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)\r\n        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)\r\n        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)\r\n        at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:843)\r\n        at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:533)\r\n        at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:816)\r\n        at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:345)\r\n        at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1404)\r\n        at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1366)\r\n        at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:778)\r\n        at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:262)\r\n        at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:520)\r\n        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)\r\n        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)\r\n        at org.eclipse.jetty.server.Server.start(Server.java:411)\r\n        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)\r\n        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)\r\n        at org.eclipse.jetty.server.Server.doStart(Server.java:378)\r\n        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)\r\nCaused by: java.lang.IncompatibleClassChangeError: class org.springframework.data.redis.connection.lettuce.BytesRedisCodec has interface com.lambdaworks.redis.codec.RedisCodec as super class\r\n        at java.lang.ClassLoader.defineClass1(Native Method)\r\n        at java.lang.ClassLoader.defineClass(ClassLoader.java:763)\r\n        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)\r\n        at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)\r\n        at java.net.URLClassLoader.access$100(URLClassLoader.java:73)\r\n        at java.net.URLClassLoader$1.run(URLClassLoader.java:368)\r\n        at java.net.URLClassLoader$1.run(URLClassLoader.java:362)\r\n        at java.security.AccessController.doPrivileged(Native Method)\r\n        at java.net.URLClassLoader.findClass(URLClassLoader.java:361)\r\n        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)\r\n        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n        at org.springframework.data.redis.connection.lettuce.LettuceConnection.<clinit>(LettuceConnection.java:123)\r\n        at org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory.getConnection(LettuceConnectionFactory.java:190)\r\n        at org.springframework.session.data.redis.config.annotation.web.http.RedisHttpSessionConfiguration$EnableRedisKeyspaceNotificationsInitializer.afterPropertiesSet(RedisHttpSessionConfiguration.java:249)\r\n        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1642)\r\n        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1579)\r\n        ... 29 common frames omitted\r\n`\r\n\r\nP.S : \r\nspring-data-redis : 1.7.10\r\nand lettuce : 4.3.0\r\n\r\nCan anybody have a look into it ?\r\n\r\n\r\n"}}
{"actor":{"display_login":"vpavic"}}