1.点击idea下方的Terminal 2.输入mvn dependency:resolve -Dclassifier=sources ,回车 3.等待,直至出现下图BUILD SUCCESS 4.再此点击Download Sources即可完成下载