This generated password is for development use only. Your security configuration must be updated before running your application in production.问题的解决

问题描述

在我加上spring-boot-starter-security的依赖之后,启动项目报出来这样的错误:

问题解决

在启动类的注解上,加上这么一段代码就ok啦!

启动成功:

posted @ 2023-10-06 12:40  yesyes1  阅读(489)  评论(0编辑  收藏  举报