[오류해결] No mapping found for HTTP request with URI 에러

won·2020년 10월 23일

[1] 오타 확인하기

@RequestMapping( value , method ) 오타가 있는지 없는지 확인하기


## [2] web.xml 확인하기
 <servlet-mapping>

	<servlet-name>appServlet</servlet-name>

	<url-pattern>/*</url-pattern>

</servlet-mapping>

url-pattern 항목에 / 로 되어있는지 확인 → /* 변경

[3] web.xml의 DispatcherServlet 설정 확인

[4] servlet-context.xml의 component:scan 확인하기

[5] 컨트롤러의 url mapping 확인

[6] 서버 클린, 프로젝트 클린 하기

* 이것저것 시도해도 실패하면 새로운 워크스페이스 생성해서 해보기 ( 이렇게 해서 해결했음 )

참고사이트 : https://stufeel.tistory.com/8

profile
😀😮😒😁🤣

0개의 댓글