Thanks for replying. I've checked out ACS Commons Error Page Handler. It
also needs to create overlay jsp files under /apps.Do you know at which
directory or path I should put jsp file in code repository to make mvn
install or pipeline deploy correctly? I've tried at
"/ui.apps/src/main/content/jcr_root/apps/servlet/errorhandler" but it
doesn't work.