remove cls compliant from spring

fixes #1725