Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.5k views
in Technique[技术] by (71.8m points)

jasper reports - JasperReports Maven broken?

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).

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

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

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?

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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

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

EDIT:

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

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

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...