I've got that problem after updating spring to version 3.5.3.
There is tomcat version 10.1.42 and the simplest thing to fix it was to add a property into application.properties:
server.tomcat.max-part-count=30