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

发布时间 2023-10-06 12:44:28作者: yesyes1

问题描述

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

问题解决

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

启动成功: