[Spring Security] Cannot resolve method 'and' in 'HttpSecurity'
에러 메세지 Cannot resolve method 'and' in 'HttpSecurity' @Bean public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { http .csrf().disable() .sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS) .and() .cors().configurationSource(corsConfigurationSource()).and() .authorizeRequests() .antMatchers("/api/v1/users/*").permitAll() .antMatchers("/api/v1/login")...
error log
2023. 3. 29. 17:01
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- n+1
- dto 클래스 생성자
- 티스토리챌린지
- checkout
- MongoDB
- 배열
- MultipleBagFetchException
- 추상클래스
- Java
- QueryDSL
- spring boot 3
- Kotlin
- 스프링오류
- jvm warm-up 전략
- array
- port
- 스프링 스케줄링
- Spring Security
- Git
- redisson 분산락
- Cannot construct instance of
- FetchJoin
- 자바 어플리케이션 실행 과정
- bucket4j
- addFilterBefore
- Linux
- JPA
- junit5
- ChatGPT
- 오블완
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
글 보관함