需要在启动类的注解里加上exclude = SecurityAutoConfiguration.class,就像这样
@SpringBootApplication(exclude = SecurityAutoConfiguration.class) 就没问题了
需要在启动类的注解里加上exclude = SecurityAutoConfiguration.class,就像这样
@SpringBootApplication(exclude = SecurityAutoConfiguration.class) 就没问题了