I have a Spring application that uses Spring MVC, Spring Security and Spring Data. Everything used to work perfectly untill I updated the Spring Data\'s version from 1
This is due to a version conflict between Spring Framework you configured and the Spring Framework required by Spring Data 2.x which is Spring Framework 5.x.
Upgrade Spring Framework to 5.x to fix the issue.
In order to avoid the same problem with Spring Security and Spring Framework, you should probably update it to a 5.x version as well.