spring data elasticsearch日期类型冲突

IllegalArgumentException 环境 spring-data-elasticsearch 3.1.6 java.lang.IllegalArgumentException: Mapper for [publishDate] conflicts with existing mapping in other types: [mapper [publishDate] has different [format] values 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'app_Main': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Mapper for [publishDate] conflicts with existing mapping in other types: [mapper [publishDate] has

使用spring security实现手机验证码登录

目标 使用spring security添加两种登录方式 手机号,验证码登录 用户名 密码 图形验证码登录 运行环境 win10-x64 jdk-v1.8 springboot-v2.1.4 springsecurity-5.1.5 环境搭建 新建maven项目 配置

登录流程的本质

登录的本质 在登录页面 输入用户名与密码 后台核对无误后,将用户信息放入会话中 在访问需要登录的页面时,系统在会话中查找用户信息 找到了,就放行 没找到