728x90
반응형
Ajax 사용 시 Url 값을 맞게 매치시켰음에도
404 에러가 뜨는 경우
컨트롤러의
@RequestMapping(value="/url")
바로 아래에
@ResponseBody
를 한줄 추가해주시면 됩니다.
728x90
반응형
'개발 > error debuging' 카테고리의 다른 글
form 안에 button 이 있을때 자동으로 submit 되는 현상 막기 (0) | 2020.09.26 |
---|---|
자바스크립트 제이쿼리 $(window).focus() 가 안될 때 (0) | 2020.09.26 |
Some of selected resources were not cleaned.svn: E155004: Working copy locked 에러 해결 (0) | 2020.07.23 |
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener 에러 해결법 (0) | 2019.08.06 |
egovframework 다중DB 설정 시 dao 에서 mapper의 id 값을 가져오지 못할 때 (0) | 2019.08.06 |