hanker
SPRING - 405 Error 본문
1. Spring Security 적용 후 서버에 데이터 전송시 405 에러 발생
- Google 검색 결과 RequestMethod, ajax Type을 맞춰주라고 하는데, 필자는 이상이 없었음.
- 계속해서 구글링 결과
- Spring Security를 적용하게 되면 csrf 설정을 해제해야됨을 알았음
<security-context.xml 설정>
<security:csrf disabled="true"/>
'SPRING > SPRING-ERROR' 카테고리의 다른 글
Spring - pom.xml 첫 줄 에러 (0) | 2021.01.12 |
---|---|
org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean 에러 (0) | 2021.01.08 |
Can not find the tag library descriptor for "http://www.springframework.org/security/tags" (0) | 2020.10.26 |
Invalid message received with signature ... (0) | 2020.10.26 |
No bean named 'springSecurityFilterChain' is defined 에러 (0) | 2020.08.18 |