在IntelliJ IDEA 中选择File->Project Structure->Modules->Dependencies 右边有个绿色的小加号,选择JARs or directories选择你要添加的外部jar包。 相关文章: