반응형
org.springframework.web.servlet.DispatcherServlet noHandlerFound
경고: No mapping found for HTTP request with URI ~~~~~~~~
이러한 메세지가 뜨길래 인터 넷 찾아봤더니..
<resources mapping="/resources/**" location="/resources/" />
src/main/webapp/WEB-INF/spring/data-dispatcher-servlet.xml 에 resources를 위한 경로를 추가 해주면 된다고 한다.
출처:[Spring] Static Resources 매핑 (tistory.com)
반응형
'프레임워크 > 스프링' 카테고리의 다른 글
[에러]Unable to create a Configuration, because no Bean Validation provider could be found. Add a provider like Hibernate Validator (RI) to your classpath. (4) | 2023.12.22 |
---|---|
[spring] IntelliJ 스프링 #3 Mapper, mybatis 설정. (15) | 2023.10.13 |
[spring] IntelliJ 스프링 #2 DB.연결(mariaDB) (6) | 2023.10.12 |
[spring] IntelliJ 스프링(maven) #1 개발환경 만들기 (6) | 2023.10.11 |
리다이렉트, 인터셉터 (0) | 2021.03.10 |
댓글