To clarify a bit more: this is not necessarily invalid, but can can be unsupported as well. Tomcat versions¹ including this commit should no longer log the above warnings, so it can safely be ignored.
¹ 9.0.99+, 10.1.36+, 11.0.3+
9.0.99+
10.1.36+
11.0.3+