No Spring Session store is configured: set the 'spring.session.store-type'

Discovery session store type use to store the storage session, the current Spring boot only support Redis way. Since the application without having to temporarily put the needs of redis session, so you can here will session store type is set to none.

 Here we are in this configuration information into application.properites:

# default-store in spring session. it will be set in redis only outside.

spring.session.store-type=none

Start again, successfully.

If you are using redis storage session:

application.properties Configuration

spring.session.store-type=redis

 

Guess you like

Origin www.cnblogs.com/lbky/p/11122411.html