因为框架不带web.xml文件,所以Cookie 的secure=true 应该在哪设置
可以尝试在application.properties里面加上以下配置:
server.servlet.session.cookie.secure=true
如果无效的话,可以自己创建web.xml文件。虽然框架不带web.xml,但不代表不支持web.xml。