Error starting a Spring application: Initialization of bean failed; nested exception is AbstractMethodError

前端 未结 1 708
你的背包
你的背包 2021-01-16 20:44

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

相关标签:
1条回答
  • 2021-01-16 21:13

    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.

    0 讨论(0)
提交回复
热议问题