티스토리 뷰
출처 : http://pep-si.tistory.com/20
1 2 3 4 5 | 심각: Servlet.service() for servlet [spring] in context with path [/library] threw exception [Request processing failed; nested exception is java.lang.IllegalStateException: Ambiguous handler methods mapped for HTTP path 'http://localhost:8080/library/mgr': {public java.lang.String com.sun.controller.MainController.mgr(org.springframework.ui.Model) throws java.lang.Exception, public java.lang.String baedo.baedoController.MgrController.list(int,org.springframework.ui.Model) throws java.lang.Exception}] with root cause java.lang.IllegalStateException: Ambiguous handler methods mapped for HTTP path 'http://localhost:8080/library/mgr': {public java.lang.String com.sun.controller.MainController.mgr(org.springframework.ui.Model) throws java.lang.Exception, public java.lang.String baedo.baedoController.MgrController.list(int,org.springframework.ui.Model) throws java.lang.Exception} | cs |
해결 방법: 하나의 URL을 여러개의 콘트롤러에서 매핑할 수 없다. 중복되는 url이 없도록 하나의 콘트롤러에서만 사용한다.
'spring 스프링' 카테고리의 다른 글
contextConfigLocation / action-servlet.xml (bean 설정 하기) (0) | 2017.07.22 |
---|---|
서블릿 설정 변경 (.do)로 바꾸기 (0) | 2017.07.22 |
기본 구조 (0) | 2017.07.22 |
globals.properties (0) | 2017.07.22 |
전자정부 3.6.0 으로 바꾼이후 프로젝트를 내리니 갑자기 오류가 났다. (0) | 2017.07.21 |
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 오라클
- 르프리크
- Lalavel
- Tomcat
- jstree
- 메뉴관리
- 성수뚝떡
- 아파치
- floating button
- 최고심
- 이클립스
- Oracle
- node관리
- 성수밥
- Mac
- html
- 톰캣
- server.xml
- 정규식
- SQL
- tree로만들기
- 맥
- Eclipse
- input
- 힘냉면록
- 터미널
- 위잇딜라이트
- 조직도관리
- Apach
- 토라식당
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함