前后分离之后SpringBoot+SpringSecurity放行Swagger访问后,security跨域配置失效的问题

NoSuchKey