LPS-45066 Fix compile problems with JSPs on portlet load