草庐IT

FindByIndexNameSessionRepository

全部标签

java - 如何创建 FindByIndexNameSessionRepository 的 bean

我正在尝试创建FindByIndexNameSessionRepository的Bean。我需要让所有用户session都使用它,但即使我已经定义了它,我也会收到bean错误。我正在使用SpringBootStarter1.5.7Error:FieldsessionRepositoryrequiredabeanoftype'org.springframework.session.FindByIndexNameSessionRepository'thatcouldnotbefound.Considerdefiningabeanoftype'org.springframework.sess