IDEA2020版Maven依赖成功导入但是仍然报错找不到依赖包

报错原因:
DEA启动程序按钮和maven的build使用的jar包环境不一样
解决方案:
设置idea构建/运行操作委托给maven就行了。具体设置:
Settings搜索Runner,勾选delegate ide build/run actions to maven
IDEA2020版Maven依赖成功导入但是仍然报错找不到依赖包

相关文章:

  • 2021-10-24
  • 2022-12-23
  • 2021-07-24
  • 2021-10-09
  • 2021-12-20
  • 2021-08-13
  • 2021-11-02
  • 2021-05-18
猜你喜欢
  • 2021-10-14
  • 2021-06-08
  • 2022-12-23
  • 2021-10-03
  • 2022-12-23
  • 2021-10-03
相关资源
相似解决方案