No mapping found for HTTP request with URI
Spring/Spring 에러 처리
2017. 3. 28. 16:58
상황.1
경고: No mapping found for HTTP request with URI [/~~~/views/author/authorWrite.do] in DispatcherServlet with name 'dispatcher'
이유: 입력 인터넷 주소 잘못 입력함
해결: views를 빼고 입력해서 해결
상황.2
또 같은 에러 발생
이유: <form method="post" action="/author/authorWrite.do"> 이부분을 잘못 써줌
해결: 위쪽에 추가<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<form method="post" action="<c:url value='/author/authorWrite.do'/>"> 수정
'Spring > Spring 에러 처리' 카테고리의 다른 글
핸들러 get, post 방식 처리 확인 (0) | 2017.05.04 |
---|---|
서버 시작시 에러 증상 (STS 또는 이클립스) (0) | 2017.04.02 |
포트 문제로 서버 실행이 되지않을때(STS 툴 기준) (0) | 2017.04.02 |
Spring tool suits - 처음 프로젝트 생성후 에러발생 (0) | 2017.03.30 |
이클립스 콘솔에도 에러가 안떴는데 - 404에러 발생 (0) | 2017.03.30 |