依赖的包中出现了两个相同的资源文件,解决方法:在其中一个不需要的依赖中使用<exclusions><exclusion><groupId>*</groupId><artifactId>*</artifactId></exclusion></exclusions>