有时maven工程的pom.xml报以下类型错误:

Description Resource Path Location Type
Missing artifact net.sf.jasperreports:jasperreports:jar:6.2.0 pom.xml /lazytester line 1 Maven Dependency Problem
可通过以下方式解决:

1.检查maven配置,确保正确;

2.检查maven本地库,是否有对应的jar包;

3.右键工程,选择update  project,弹开的页面中,将Force update of Snapshots/Release勾选,然后点击ok进行更新。如下图:

maven工程pom.xml报Missing artifact net.sf.jasperreports:jasperreports:jar:6.2.0

经过以上步骤应该可以解决问题。

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-25
  • 2021-06-23
  • 2021-09-20
  • 2021-09-03
  • 2022-12-23
猜你喜欢
  • 2021-06-16
  • 2022-12-23
  • 2021-10-30
  • 2022-12-23
  • 2021-11-07
  • 2021-12-23
  • 2022-12-23
相关资源
相似解决方案