SpringBoot升级到2.0之后,session未配置store-type导致启动失败的问题

版权声明:本文为博主原创文章,未经博主允许不得转载 https://blog.csdn.net/qq_27948811/article/details/89531525

启动报错结果:Disconnected from the target VM, address: '127.0.0.1:61435', transport: 'socket'

 原本项目的springboot版本是1.5;升级到2.0之后

yml文件中的session: store-type已经没有hash_map这个枚举了

 2.0的springboot中store-type只有以下几类:

所以把这个yml配置改为jdbc然后新增一个配置

 

升级框架版本一定小心呐 

猜你喜欢

转载自blog.csdn.net/qq_27948811/article/details/89531525