이 문서는 SonarQube에서 커스텀 에러 페이지 설정에 대한 가이드를 공유하기 위해 작성되었다.
먼저 다음 경로의 web.xml 파일에 Edit 모드로 Open 한다.
<install-directory>web\WEB-INF\web.xml
다음과 같은 코드를 </web-app> 앞에 추가한다.
<error-page> <error-code>404</error-code> <location>/404.html</location> </error-page>
다음 경로에 404.html 에러 페이지를 생성한다.
<install-directory>web