[DON'T BACKPORT] LPS-50703 remove references to defaultClassNameId

This PR fixes errors found by using `ant compile-jsp`. This fixes aren't applicable to ee-6.2.x.

Thanks!