LPS-39033 Fix ams-portlet jsp static compilation