No Spring Session store is configured: set the 'spring.session.store-type' property
记录问题
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘org.springframework.boot.autoconfigure.session.SessionAutoConfiguration$SessionRepositoryValidator’: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: No Spring Session store is configured: set the ‘spring.session.store-type’ property
这里我们将此配置信息放入application.properites之中:
spring.session.store-type=none
如果使用redis存储session:
spring.session.store-type=redis
之后就启动成功