0
我在Intellij Idea中下載了我所需的用於我的Spring項目的所有庫。我正在使用maven:mvn包。所有圖書館的成功,除了一個是禁止的:運行maven時禁止Jasper Library下載:mvn軟件包
[ERROR] Failed to execute goal on project remax-service:
Could not resolve dependencies for project com.qr.remax:remax-service:war:1.4.0: Failed to collect dependencies at net.sf.jasperreports:jasperreports:jar:6.4.0 ->
com.lowagie:itext:jar:2.1.7.js5: Failed to read artifact descriptor for com.lowagie:itext:jar:2.1.7.js5: Could not transfer artifact com.lowagie:itext:pom:2.1.7.js5 from/to jaspersoft-third-party
(http://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/):
Access denied to: http://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/com/lowagie/itext/2.1.7.js5/itext-2.1.7.js5.pom , ReasonPhrase:Forbidden. -> [Help 1]
我在我的瀏覽器把這個http://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/com/lowagie/itext/2.1.7.js5/itext-2.1.7.js5.pom,我也得到: 403這是一個錯誤。
我認爲它與被屏蔽的網站政策,爲我的國家做。無論如何,有沒有這樣做的替代?
你可以分享你的pom.xml顯示這種依賴關係,我使用低於美國的依賴,並能正常工作,'< - HTTPS! //mvnrepository.com/artifact/com.lowagie/itext - > com.lowagie iText的 2.1.7 ' –
可以嘗試在你的pom.xml添加庫,'<庫> \t \t \t \t \t JasperReports的 \t \t \t http://jasperreports.sourceforge.net/maven2 \t \t \t \t \t \t \t 的JasperSoft的第三方 \t \t \t http://jaspersoft.artifactoryonline.com/jaspersoft/third-party-ce-artifacts/ \t \t \t repositories>' –