idea 版本 2018.1.3
設定 pom.xml改變自動導包有 設定全局預設 和 目前項目 ,同時設定目前項目和全局預設 以目前項目設定為準。
-
全局預設 設定 pom.xml改動自動導包
File -> Other Settings -> Default Settings -> Importing -> Import Maven projects automatically -> OK
-
目前項目 設定 pom.xml改動自動導包
File -> Settings -> Importing -> Import Maven projects automatically -> OK