解决办法:

1.先查看自己idea配置的仓库路径有没有被更改。

路径查看:File——>Setting... ——>Build,Execution,Deploment——>Build  Tools ——>Maven

解决idea中pom.xml导入jar不自动提示的问题

2.仓库路径都正确的话,需要更新。

步骤如下:

解决idea中pom.xml导入jar不自动提示的问题

解决idea中pom.xml导入jar不自动提示的问题

选择本地仓库,然后更新,完成即可。

解决idea中pom.xml导入jar不自动提示的问题

 

 

相关文章:

  • 2021-11-06
  • 2021-04-04
  • 2021-12-26
  • 2022-01-02
猜你喜欢
  • 2021-07-09
  • 2021-08-22
  • 2019-11-28
  • 2021-12-30
相关资源
相似解决方案