반응형
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Sat Sep 24 23:13:00 KST 2022
There was an unexpected error (type=Method Not Allowed, status=405).
Request method 'POST' not supported
org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported
난 제대로 작성했다고 생각했는데 도대체 뭐가 문제일까... 제발 찾고싶다
그렇게 시간을 보내다보니 찾았다..
<input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}" />
시큐리티 사용시 html문서 form 안에 위의 내용을 넣어야했다.
시큐리티 이자식 ㅠㅠ..
반응형
'IT 공부 > Spring boot' 카테고리의 다른 글
[스프링부트] filepath null (0) | 2022.09.26 |
---|---|
[Springboot] jpa mysql 오류 (0) | 2022.09.18 |
댓글