1. @RequestMethos.POST 설정을 했는데 Request method 'GET' not supported 오류가 발생한다면 GET 과 POST를 동시에 설정하면 면 오류가 발생하지 않는다.
@RequestMapping(method = {RequestMethod.GET, RequestMethod.POST}
'spring boot' 카테고리의 다른 글
requestMapping result 한글이 깨지는 문제 해결방법 (0) | 2017.04.19 |
---|---|
jar file 만들기 (0) | 2017.02.21 |
mybatis mapper 설정 (0) | 2017.01.17 |
log4j 설정법 (0) | 2017.01.10 |