반응형
[ERROR] Ambiguous mapping found. Cannot map
A컨트롤러
@RequestMapping(value="/list", method= RequestMethod.GET)
B컨트롤러
@RequestMapping(value="/list", method= RequestMethod.GET)
Controller의 @RequestMapping의 값이 중복되어서 나타나는 에러
메서드와 클래스명은 다르지만 RequestMapping이 중복되어서 나오는 에러
반응형
'웹프로그래밍 > Java' 카테고리의 다른 글
Java HashMap의 자주 사용되는 메소드 (0) | 2017.11.22 |
---|---|
Request, Response객체 (0) | 2017.11.22 |
[SPRING] RequestMapping ... one,two 작성방법 (0) | 2017.11.03 |
"" 로 들어 왔는데 체크하는방법 (0) | 2017.10.31 |
크롬에서 & get으로 보낼때 찍힐때 (0) | 2017.10.12 |