0
点赞
收藏
分享

微信扫一扫

springboot跳到登录页Please sign in

逸省 2022-02-10 阅读 126

 

 

控制台还打印了密码

 把用户名和密码填进去是可以

但是重启之后又进入了登录页

解决办法是

启动类加上

@SpringBootApplication(exclude = { org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class,      org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration.class })
举报

相关推荐

0 条评论