Failed to read artifact descriptor for com.lowagie:itext:jar:2.1.7.js6
生活随笔
收集整理的這篇文章主要介紹了
Failed to read artifact descriptor for com.lowagie:itext:jar:2.1.7.js6
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
導入JasperReports坐標,依賴報錯問題解決
? ? ? ? 在maven項目中導入JasperReports報表生成工具坐標時,出現mavn依賴包紅色波浪線問題。
? ? ? ? 錯誤提示:Failed to read artifact descriptor for com.lowagie:itext:jar:2.1.7.js6
? ? ? ? 讀取com.lowagie:itext:jar:2.1.7.js6的工件描述符失敗。
?
問題原因分析
? ? ? ? JasperReports報表生成工具是對Itext進行了封裝,簡化了pdf輸出的過程。這里說的是讀取com.lowagie:itext失敗,解決方法很簡單,在導入JasperReports坐標時排除對com.lowagie:itext:jar的讀取即可
?
解決辦法
1.導入JasperReports坐標時排除com.lowagie:itext:jar:的讀取。附上一下坐標
<dependency><!--jasperreports報表生成工具--><groupId>net.sf.jasperreports</groupId><artifactId>jasperreports</artifactId><version>6.8.0</version><!--排除itext,jar讀取--><exclusions><exclusion><groupId>com.lowagie</groupId><artifactId>itext</artifactId></exclusion></exclusions></dependency>2.重啟動idea,問題解決
?
總結
以上是生活随笔為你收集整理的Failed to read artifact descriptor for com.lowagie:itext:jar:2.1.7.js6的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 第一次玩,试试手(标题)
- 下一篇: [置顶]tcpflow 抓包