LPS-51648 Fix jsp compilation

cc/ @sergiogonzalez