如图: IDEA选择如下路径: File - Project Settings - Modules - Dependencies 可以看到,当前依赖的jar包 导入了两个不同的包。 只需要移除到一个就OK 了。