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

Free Support Forum - aspose.com

Using evaluated Aspose.word Jar in my maven project

Hi there,

I have downloaded aspose word jar and trying to use in my existing maven project. But while using that the classes like- Table, Row etc are not getting recognized during maven build.

As suggested in some other places, i also tried to add following dependency in pom.xml but same issue.

<dependency>
   <groupId>com.aspose</groupId>
   <artifactId>aspose-words</artifactId>
   <version>16.7.0</version>
</dependency> 

Could you please suggest how can i achieve same?

@aayushag85

Thanks for your inquiry. Please note if you are using multiple Aspose JARs in your project then you need to resolve complete reference of objects as classes(Table, Row etc.) with same name are present in different Aspose JARs. Hopefully it will resolve the issue. However, if the issue persists then please share sample project along with error details/screenshot here. We will look into it and will guide you accordingly.

Furthermore, it is always recommended to use latest version of Aspose.Words for Java, as we include all the fixes and enhancements in latest version.

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