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啦!
启动成功:
在我加上spring-boot-starter-security的依赖之后,启动项目报出来这样的错误:
在启动类的注解上,加上这么一段代码就ok啦!
启动成功: