Could not find artifact com.aspose:aspose-words:jar:16.6.0 in AsposeJavaAPI

Hi;
I have been working on an assignment of converting a word document to any specified format using aspose-words for java. I have done it successfully when using aspose-words java api by adding required jar to my class path. But when I want to add the dependency to maven project, I got the following error:

**[ERROR] Failed to execute goal on project aspose: Could not resolve dependencies for project aspose:aspose:war:0.0.1-SNAPSHOT: Could not find artifact com.aspose:aspose-words:jar:16.6.0 in AsposeJavaAPI (http://maven.aspose.com/artifactory/simple/ext-release-local/) -> [Help 1]**

To add required dependency, I got help from following link:
https://docs.aspose.com/total/java/configuration-and-using-aspose-total-java-for-maven/
I have tried so muchto get out of this problem, but stuck here. Attached is my POM for review. Please help me to resolve this issue.
Regards;
Adeel Umar Usmani

Hi Adeel,

Thanks for your inquiry. We have attached a sample “IntelliJ Idea” project here for your reference. Please download “AsposeWordsMavenTest.zip” and see how it goes on your end. Moreover, please use classifier as shown below. Hope this helps you.

<dependency>
    <groupId>com.aspose</groupId>
    <artifactId>aspose-words</artifactId>
    <version>16.6.0</version>
    <classifier>jdk16</classifier>
</dependency>

Hi Tahir;
Thanks for your reply. I have already tried mentioned technique in eclipse, since I am using eclipse mars IDE but when it goes for downloading the repository from mentioned URL in tag, the IDE got stuck after downloading few KB’s. I tried this technique more than once, but eclipse progress bar got stagnant after downloading few KB’s, probably around 1 MB. I waited a lot to get the download completed, but didn’t see any progress.

Anyways, as an alternative, I got aspose-words jar from aspose site & installed it to my local maven repository & added dependency to my POM & eventually got it to work.

Regards;
Adeel

Hi Adeel,

Thanks for your inquiry. It is nice to hear from you that you have workaround this issue.

We have tested the same scenario using Eclipse and have not found the shared issue. Perhaps, there is some issue at your end that stops downloading Aspose.Words Jar. Please remove all older Aspose.Words Jar files from your system and import the AsposeWordsMavenTest project in Eclipse.