JasperReports Maven 坏了? [英] JasperReports Maven broken?

查看:35
本文介绍了JasperReports Maven 坏了?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将 JasperReports 的依赖项添加到我的项目(尝试过 SBT 和 Maven),但似乎有一个依赖项已损坏.我正在使用来自 maven repo 的最新版本 6.1.0(也使用以前的版本和相同的问题进行了测试).

I'm trying to add a dependency to JasperReports to my project (Tried SBT and Maven), but seems one dependency is broken. I'm using the latest version 6.1.0 from the maven repo (also tested with previous ones and same issue).

我还添加了 Jasper 存储库,因为需要从那里获取 itext 库.

I also added the Jasper repository since the itext libs need to be grabbed from there.

但我不断收到以下错误:[信息] 解决 org.codehaus.castor#castor-xml;1.3.3 ...[警告] 下载模块描述符时出现问题:http://repo1.maven.org/maven2/org/codehaus/castor/castor-xml/1.3.3/castor-xml-1.3.3.pom:无效的sha1:预期=c9d4075aabdeb9f81ba16455c5dadf2c1f687cb1 计算=a0bc9174f01de7be6d5bdcec580e6a3b999674ec (108ms)[警告] 未找到模块:org.codehaus.castor#castor-xml;1.3.3

But I keep getting these errors: [info] Resolving org.codehaus.castor#castor-xml;1.3.3 ... [warn] problem while downloading module descriptor: http://repo1.maven.org/maven2/org/codehaus/castor/castor-xml/1.3.3/castor-xml-1.3.3.pom: invalid sha1: expected=c9d4075aabdeb9f81ba16455c5dadf2c1f687cb1 computed=a0bc9174f01de7be6d5bdcec580e6a3b999674ec (108ms) [warn] module not found: org.codehaus.castor#castor-xml;1.3.3

并且:[信息] 解决 org.olap4j#olap4j;0.9.7.309-JS-3 ...[警告] 未找到模块:org.olap4j#olap4j;0.9.7.309-JS-3

And: [info] Resolving org.olap4j#olap4j;0.9.7.309-JS-3 ... [warn] module not found: org.olap4j#olap4j;0.9.7.309-JS-3

[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: org.codehaus.castor#castor-xml;1.3.3: not found
[warn]  :: org.olap4j#olap4j;0.9.7.309-JS-3: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::

是否有任何其他存储库托管这些?

Is there any other repository hosting these?

更新:我设法在以下位置找到了 olap 依赖项:https://jaspersoft.jfrog.io/artifactory/third-party-ce-artifacts/

UPDATE: I managed to find the olap dependency at: https://jaspersoft.jfrog.io/artifactory/third-party-ce-artifacts/

但还是无法获得一个脚轮.

Still having problems getting the castor one though.

推荐答案

jaspersoft 社区有一个帖子针对这个问题:

There is a post at the jaspersoft community for this issue:

http://community.jaspersoft.com/questions/826431/failure-find-orgolap4jolap4jjar097309-js-3

建议将额外的 maven 存储库添加到您的配置中,以便可以找到缺少的工件.

The recommendation is to add additional maven repositories to your configuration, so that the missing artefacts can be found.

正如已经说过的,这应该是 https://jaspersoft.jfrog.io/artifactory/third-party-ce-artifacts 获取 olap4j.

As already said this should be https://jaspersoft.jfrog.io/artifactory/third-party-ce-artifacts to get olap4j.

我对 maven-central 的 castor-xml 工件没有任何问题:http://search.maven.org/#artifactdetails|org.codehaus.castor|castor-xml|1.3.3|jar

I had no problem with the castor-xml artifact at maven-central: http://search.maven.org/#artifactdetails|org.codehaus.castor|castor-xml|1.3.3|jar

这篇关于JasperReports Maven 坏了?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆