Maven下载JasperReports报错Could not find artifact com.lowagie:itext:pom:2.1.7.js6 in alimaven
生活随笔
收集整理的這篇文章主要介紹了
Maven下载JasperReports报错Could not find artifact com.lowagie:itext:pom:2.1.7.js6 in alimaven
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1、maven項目導入jasperreports組件時報錯:
<dependency><groupId>net.sf.jasperreports</groupId><artifactId>jasperreports</artifactId><version>6.8.0</version> </dependency>Could not find artifact com.lowagie:itext:pom:2.1.7.js6 in alimaven
2、查找網上資料了解到在jasperreports的pom文件里指定了2.1.7.js6版本的itext依賴,而目前的Maven中央倉庫或其他鏡像倉庫里是不存在這種帶有js6等后綴版本。該版本是jasperreports為了修復一些bug而打上了補丁的版本,但是并沒有release到中央庫里,不過這些bug在更高版本里也被修復了,可以使用更高版本的itext來避免這些bug
可查看原教程連接:https://lewky.blog.csdn.net/article/details/109322686
3、解決方案
修改pom文件,如下,并重新加載,可下載成功
總結
以上是生活随笔為你收集整理的Maven下载JasperReports报错Could not find artifact com.lowagie:itext:pom:2.1.7.js6 in alimaven的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: java反射机制续
- 下一篇: Delphi WinExec Shell