The bean 'requestInterceptor', defined in class path resource ..., could not be registered. A bean with that name has already been defined in file ... and overriding is disabled.
先把报错原因翻译一下就知道是bean名字重复的原因
spring中相同名字不成功
1.解决办法-1 将重复的bean覆盖掉
2. 修改掉重复的名称就行了