1、首先配置 maven 自动下载依赖 2、右键点击项目 maven→reimport 强制更新一下依赖 来源:oschina链接:https://my.oschina.net/hp2017/blog/4484024 标签 maven IntelliJ IDEA