IntelliJ IDEA 设置自动导入maven依赖

1. 方法一:maven

咱们在建立完maven项目以后右下角会提示一个是否自动导入maven依赖的信息,咱们能够勾选上Enable Auto-Importspa

 

2. 方法二:手动设置3d

找到:File → settings→ 搜索框输入importing→Import Maven projects automatically勾选上便可blog