LPS-38083 jsp compile fix

This is blocking now the 6.2 Alpha release. I'm trying to help Chas.