We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Connecting Sonatype Nexus to Aspose Repository | Validator, Remote Storage, SSL Handshake Exceptions | Cannot Fetch Index

I would like to try aspose.words in our current project.
Our setup is such that we need to get all our packages from our local Sonatype Nexus.

Our preferred approach here is to set up a proxi repository in Nexus that points to the aspose maven repository and downloads all packages that we might need.

In that setup I pointed to https://repository.aspose.com/repo/

But I am getting the following error:

Status: Unsuccessful.
Message: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Am I pointing to the correct repository?
Is there anything that I am missing?

image.png (24.8 KB)

image.png (6.9 KB)


Please try the following POM.XML. Hope, this helps.
pom.zip (502 Bytes)


I have the same problem, but the pom.zip is only private and I can’t view the solution.
Can you provide me the solution, too, or paste the content of the pom.xml here directly in text-form?

Thank you!

Kind regards
Dirk Steinkamp


You can easily use Aspose.Words for Java directly from a Maven based project by adding following configurations to your pom.xml.

        <name>Aspose Java API</name>


Hope, this helps.

Thank you for the quick response!

I needed to access it through our nexus – it turned out we hadn’t configured the repo in nexus properly, but we had missed one detail, so it didn’t work. But we managed to fix it and it’s working now. :slight_smile:


It is great that you were able to fix the problem on your end. Please let us know any time you have any further queries in future.

1 Like

9 posts were split to a new topic: Integrating Aspose.Words for Java’s Maven Repo with Sonatype Nexus

Hey, what was the mistake ? I added the https://repository.aspose.com/repo/ as a repo URL but it does not get me anywhere on my nexus.

I don’t know what my collegue configured in the Nexus.
One thing I did as a workaround before he fixed the Nexus setup was to define the aspose-repository in my local settings.xml or in the pom.xml and make sure I excluded the aspose-repo in the mirror-section.


I used default Nexus settings on my side and it works for me. I set https://repository.aspose.com/repo/ as a Remote storage for my Nexus proxy reppository and updated the .pom file the like this:

	<name>Aspose Java API</name>

Hope, this helps you.