Upgrade app's dependencies to their latest versions.

Use Spring Java Config
Formattings
spring-web should not be 'runtime' scoped