WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI ...

  • rmrf
    (¯\_(ツ)_/¯)
  • rmrf's Avatar 이 글의 작성자
  • Offline
  • Newbie
  • Newbie
더보기
11 Jan 2018 10:25 - 11 Jan 2018 10:26 #3048 작성자: rmrf
rmrf 님의 글: WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI ...
js, css 파일을 resources 하위에 두었을 때...


컨텐츠 표시도 안되고...


WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/js/bootstrap/bootstrap.min.js] in DispatcherServlet with name 'appServlet'
WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/js/bootstrap/bootbox.min.js] in DispatcherServlet with name 'appServlet'
WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/css/home/common.css] in DispatcherServlet with name 'appServlet'
WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/css/jquery/menu.css] in DispatcherServlet with name 'appServlet'
WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/css/bootstrap/bootstrap.iso.css] in DispatcherServlet with name 'appServlet'


이런 에러가 난다면...


servlet-context.xml 파일에 추가한다...



	<resources location="/resources/js/" mapping="/js/**" />
	<resources location="/resources/css/" mapping="/css/**" />
Time to create page: 0.050 seconds
Powered by Kunena Forum