웹개발/스프링 프레임워크

Invocation of init method failed; nested exception is java.lang.IllegalStateException: Ambiguous mapping. Cannot map '~~~~Controller' method

건강코더 2017. 9. 11. 18:54

Invocation of init method failed; nested exception is java.lang.IllegalStateException: Ambiguous mapping. Cannot map '~~~Controller' method


이런 오류일 때는 



@RequestMapping 


값이 중복일 경우 나타나는 오류로 방금 작성한 메소드의 값을 다른 값으로 변경하면 오류 해결!