1: 确保加maven环境变量(加好的跳过) 2:打开cmd输入 cd 空格 +你的项目路径 + 回车 3:再输入d:+ 回车 4: 再输入 mvn dependency:tree 命令 回车会出现如下图所示