Fixes #32628.

Comment From: wilkinsona

Thanks for the PR, @gavrilovegor519, but Thymeleaf 3.1.0.RC1 has not yet been released. We also prefer to take care of dependency upgrades ourselves to avoid the overhead of processing a PR for such a small and mechanical change