Spring starts in 2003 from a book: Rod Johnson argued against the weight of EJB. The inversion of control and dependency injection he proposed became the norm in the Java world.
An embedded server and chosen dependencies: Spring becomes startable in one command.
Java config largely replaces XML.
XML configuration grows, and quickly becomes verbose.
A lightweight container, to write Java without an application server.