Spring Security关闭
新年第二个趴,请求无消息,postman请求是空白?
输入到浏览器发现要登录??
idea后台提示
Using generated security password: 7d96fd39-c828-4e05-ad90-6f8b41277fbb
This generated password is for development use only. Your security configuration must be updated before running your application in production.
一脸懵逼
原因,是因为打开或添加了Spring Security
解决办法:主文件添加:@SpringBootApplication(exclude = {SecurityAutoConfiguration.class})