프로젝트 내에 web.xml
welcom-file-list 밑에 추가
<error-page> <error-code>403</error-code> <location>/WEB-INF/views/error/403.html</location> </error-page> <error-page> <error-code>404</error-code> <location>/WEB-INF/views/error/404.html</location> </error-page> <error-page> <error-code>500</error-code> <location>/WEB-INF/views/error/500.html</location> </error-page>0 글이 마음에 드셨다면 하트 꾸욱~