새소식

🏫 Framework/🍃 Spring

[Spring] The method contentSecurityPolicy(String) is undefined

728x90

👉 The method contentSecurityPolicy(String) is undefined for the type HeadersConfigurer<HttpSecurity>

👉 I suggest you try different versions of springframework security

I use this version of spring security :)

<!-- security --> <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-web</artifactId> <version>4.1.2.RELEASE</version> </dependency> <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-config</artifactId> <version>4.1.2.RELEASE</version> </dependency>

👉 https://mvnrepository.com/search?q=spring+security

 

If I was of any help to you, please buy me coffee 😿😢😥

If you have any questions, please leave them in the comments

[2] Ads : https://play.google.com/store/apps/details?id=io.cordova.seoulfilter

반응형

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.