Not being able to use latest version of Aspose Words

Hello Aspose family,

We are fetching aspose libraries from the repo:

https://releases.aspose.com/words/java/

For aspose cells we are being able to use latest version but not for words. Since, it is searching for
aspose-words-17.2.0.jar (for 17.2.0) but we have files like aspose-words-17.2.0-jdk16.jar in the repo.

Has implementation been changed? If changed how should we be able to use that.

Thanks,
HarishT

Hi HarishT,

Thanks for your inquiry. Please use following pom.xml for Aspose.Words for Java. Hope this helps you.

<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi=“`http://www.w3.org/2001/xmlschema-instance`“
xsi:schemaLocation=“<http://maven.apache.org/pom/4.0.0 http>://maven.apache.org/xsd/maven-4.0.0.xsd“>
	<modelVersion>4.0.0</modelVersion>

	<groupId>com.aspose</groupId>
	<artifactId>AsposeWordsMavenTest</artifactId>
	<version>1.0-SNAPSHOT</version>

	<repositories>
		<repository>
			<id>AsposeJavaAPI</id>
			<name>Aspose Java API</name>
			<url><https://releases.aspose.com/words/java/></url>
		</repository>
	</repositories>

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

</project>

Thanks for your reply.

But, since I am using grails project with gradle build tool. I am changing the version in build.gradle file.
While cleaning the project I am getting error as:
Could not find aspose-words.jar (com.aspose:aspose-words:17.7).

@HThagunna,

Thanks for your inquiry. The exception shows that the Aspose.Words’ Jar file is not available to your application. Please make sure that you are using the correct version number of Aspose.Words in build.gradle file. It is 17.7. You may get the latest version of Aspose.Words from maven repository here:
https://releases.aspose.com/words/java/

Best Regards,
Tahir Manzoor