This was one of the main problems with the first popular MVC web framework for Java: Struts1.
It’s hard to understate how popular Struts1 was in the Java community circa 2003.
Therefore, it grew rapidly and organically, and unfortunately this resulted in all roads leading to struts-config.xml
.
The file could balloon to thousands of lines, especially if you wanted readable XML, and merge conflicts were a constant source of worry on larger projects.