alexandre.mendes Posted February 16, 2023 Share Posted February 16, 2023 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 More sharing options...
Solution lucianc Posted February 16, 2023 Solution Share Posted February 16, 2023 You need to use https://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts instead of https://jaspersoft.jfrog.io/ui/native/third-party-ce-artifactsRegards,Lucian Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now