導入Maven所依賴的jar包

1.pom.xml右擊  run as ,選擇第三個


2.輸入下面命令 

dependency:copy-dependencies -DoutputDirectory=lib 

3.刷新項目當前項目會出現lib目錄