spring 启动后报错,项目正常启动 但是所有请求都不行,swagger页面也打不开 请求地址/error
追踪发现
原来是 SpringSecurity 被打开了,于是修改启动类注解:
@SpringBootApplication(exclude = {SecurityAutoConfiguration.class, ManagementWebSecurityAutoConfiguration.class})标签:notfound,请求,启动,spring,正常,class From: https://www.cnblogs.com/lutt123/p/18190615