티스토리 뷰
WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/springMVCBoard/list] in DispatcherServlet with name 'appServlet'
9aram 2019. 6. 12. 09:49ECLIPSE로 작업하던 스프링 프로젝트를 인텔리 제이로 옮겼을때 실행되는 오류 2
when you change eclipse projects to IntelliJ there are some problems
this is one of error I experienced
WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/springMVCBoard/list] in DispatcherServlet with name 'appServlet'
인텔리제이는 기본적으로 컨텍스트패스가 /로 되어있습니다
이클립스는 자동으로 프로젝트 명을 컨텍스트 패스로 잡기떄문에 원래 기존의 주소로 접속하신다면 에라가 나죠
http://localhost:8181/springMVCBoard/list
따로 설정을 안원하신다면
there's no context path in Intellij basically.
so if you don't set a context path and use URL you use before like this you see an error
http://localhost:8181/springMVCBoard/list
1. 이렇게 로컬호스트 뒤에 바로 리퀘스트 맵핑명
2. Edit Configurations ->Deployment->Application context 에서 원하시는 컨텍스트명 설정

'IT > SPRING' 카테고리의 다른 글
- Total
- Today
- Yesterday
- 리트허브폴더
- 깃헙리트허브
- 영문이력서
- 노드
- 깃허브삭제
- CSS
- 일렉트론
- 이력서 쓰는법
- 영문커버레터
- progress
- 리트허브
- PROGRESS BAR
- 커버레터
- java mail
- 자바스크립트 프로그래스
- 깃헙리트코드연동
- 인텔리제이단축키
- 노드에러
- 영어커버레터
- JSzip
- 영문resume
- CV
- 프로그래스바
- electron
- 지킬
- Resume
- 영어resume
- 인텔리제이
- 영어이력서
- 프로그래스
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |

