我正在Intellij Idea中下载我的春季项目所需的所有库。我正在使用maven: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.那是一个错误。
我认为这与我所在国家/地区的屏蔽网站政策有关。无论如何还有另外一种方法吗???
答案 0 :(得分:3)
请在您的pom.xml中添加以下存储库,
var container = new PIXI.Container();
var signagetemplate = //Image to be loaded
var loader = PIXI.loader;
var canwidth;
var canheight;
var renderer = PIXI.autoDetectRenderer({
transparent: true,
resolution: 1
});
loader.add("signtemp", signagetemplate)
loader.on('complete', function(loader, resources, IMAGE) {
var signitem = new PIXI.Sprite(loader.resources.signtemp.texture);
canwidth = signitem.width;
canheight = signitem.height;
container.addChild(signitem);
})
loader.load(setup);
function setup() {
renderer.resize(canwidth, canheight);
renderer.render(container);
}
document.getElementById('display').appendChild(renderer.view);
答案 1 :(得分:1)
我正在更新最新信息。只需使用以下代码:
<repositories>
<repository>
<id> jaspersoft-repo</id>
<url>https://jaspersoft.jfrog.io/jaspersoft/jaspersoft-repo</url>
</repository>
</repositories>