Gradle JasperReports Dependency fails to resolve

Hello, I'm currently developing a gradle project that uses JasperReports. During the dependency download it fails due to HEAD requests to the server returning 403 forbidden. Is there a workaround I'm not aware of? Or would it be possible to allow HEAD requests?


The repositories and dependencies:

repositories {
    maven{url ""}
    maven{url ""}
dependencies {
    implementation 'org.apache.groovy:groovy:4.0.2'
    implementation 'net.sf.jasperreports:jasperreports:6.20.0'
    testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
    testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'

The error log:

Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
   > Could not resolve com.lowagie:itext:2.1.7.js10.
     Required by:
         project : > net.sf.jasperreports:jasperreports:6.20.0
      > Could not resolve com.lowagie:itext:2.1.7.js10.
         > Could not get resource ''.
            > Could not HEAD ''. Received status code 403 from server: Forbidden

alexandre.mendes's picture
Joined: Feb 16 2023 - 4:51am
Last seen: 3 months 1 week ago

1 Answer:

lucianc's picture
Joined: Jul 17 2006 - 1:10am
Last seen: 3 hours 8 min ago