Add repository to java maven

I have a question to maven: How do i add the repositories correctly. I want to use IronPdf library according to the instructions at

I think i need to add the following repository to the pom.xml:

        <name>Iron Software Repository</name>

But i get an error if i call mvn install:

Could not resolve dependencies for project
de.neuefische:FishScraper:jar:1.0-SNAPSHOT: The following artifacts
could not be resolved:
com.ironsoftware:com.ironsoftware:glas:2023.4.4 was not found in during a previous attempt. This
failure was cached in the local repository and resolution is not
reattempted until the update interval of ironsoftware has elapsed or
updates are forced

What i am doing wrong?

Added the repository

>Solution :

it seems you missed some repository or it may be for your version of repository. you can update your repository. also you can try by this i had same problem and this worked for me.


also you can run mvn clean install -U
or delete .m2 in your local.

Leave a Reply