解决方法:
1.在启动类上添加注解@EnableAutoConfiguration(exclude = {SecurityAutoConfiguration.class})
2.或者:@SpringBootApplication(exclude = {SecurityAutoConfiguration.class })
如图:二选一

posted on 2022-10-06 13:01  bug鸭~  阅读(166)  评论(0编辑  收藏  举报