문제 상황 : 컨트롤러에서 join.jsp를 보여줄 GETMAPPING 메소드와 join.jsp안의 form을 생성하고 form값을 처리할 POSTMAPPING 메소드를 생성하였다.
메소드 생성을 하고 톰켓을 실행하니
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping'
**SEVERE: 서블릿 [appServlet]을(를) 위한 Servlet.init() 호출이 예외를 발생시켰습니다.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping': Invocation of init method failed; nested exception is java.lang.IllegalStateException: Ambiguous mapping. Cannot map 'memberController' method
public void io.universe.com.controller.MemberController.login()
위와 같은 오류가 발생하였다.
저 오류를 검색해보면 method가 중복되어서 발생하는 오류라고 나왔다
하지만 위에 value값들을 설정해주니까 오류가 해결되었다.