WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI 오류 해결
실행했는데 이런 화면과 하단에 WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI ~ 라는 오류가 뜬다면 HomeController에 매핑된게 없어서 그렇다
해당 패키지의 HomeController.java로 들어가서 @RequestMapping 부분을 작성
Save → Restart
매핑 부분을 잘 넣어줘야 해당 페이지를 얻을 수 있다
'Eclipse' 카테고리의 다른 글
'SVN Commit' has encountered a problem. Item is out of date 오류 해결 (1) | 2021.02.17 |
---|---|
'Launching Tomcat v7.0 Server at localhost' has encountered a problem 오류 해결 (0) | 2021.02.08 |
댓글