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

Free Support Forum - aspose.com

After keeping maven dependency and updating maven project getting error

Hi Team i added aspose dependencies to maven project like "
com.aspose
aspose.words.jdk16
14.12.0
jdk16
"
and trying to import com.aspose.words.ConvertUtil but its showing error like the import com.aspose can not resolved. Can anyone help out.

@naveen1221,

Please try using the following POM file.

<?xml version="1.0" encoding="UTF-8"?>
<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://repository.aspose.com/repo/</url>
        </repository>
    </repositories>

    <dependencies>
        <dependency>
            <groupId>com.aspose</groupId>
            <artifactId>aspose-words</artifactId>
            <version>21.9</version>
            <classifier>jdk17</classifier>
        </dependency>
        <dependency>
            <groupId>com.aspose</groupId>
            <artifactId>aspose-words</artifactId>
            <version>21.9</version>
            <classifier>javadoc</classifier>
        </dependency>
    </dependencies>
</project>