Jump to content
We've recently updated our Privacy Statement, available here ×

Gradle JasperReports Dependency fails to resolve


alexandre.mendes
Go to solution Solved by lucianc,

Recommended Posts

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 {    mavenCentral()    maven{url "https://jaspersoft.jfrog.io/ui/native/jaspersoft-repo"}    maven{url "https://jaspersoft.jfrog.io/ui/native/third-party-ce-artifacts"}}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'}[/code]

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 'https://jaspersoft.jfrog.io/ui/native/jaspersoft-repo/com/lowagie/itext/2.1.7.js10/itext-2.1.7.js10.pom'.            > Could not HEAD 'https://jaspersoft.jfrog.io/ui/native/jaspersoft-repo/com/lowagie/itext/2.1.7.js10/itext-2.1.7.js10.pom'. Received status code 403 from server: Forbidden[/code]

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...