The resource is under src/main/resources/static/css or src/main/resources/static/js, I\'m using spring boot, and the class of security is:
@Configuration @En
I had the same problem and changing access to "permitAll" didn't help. I created a new http pattern where I set security to "none" and then I was able to download the css and js files without authentication.