Free Support Forum - aspose.com

Could not find artifact com.lowagie:itext:pom:2.1.7.js8 in AsposeJavaAPI (https://repository.aspose.com/repo/)

I recently got this message when deploying the project. We use the Developer OEM version ($ 2997).
The project cannot be deployed because this library can no longer be found.
What can i do?

    <dependency>
        <groupId>com.aspose</groupId>
        <artifactId>aspose-words</artifactId>
        <version>20.9</version>
        <classifier>jdk17</classifier>
    </dependency>

----
    <repositories>
        <repository>
            <id>AsposeJavaAPI</id>
            <name>Aspose Java API</name>
            <url>https://repository.aspose.com/repo/</url>
        </repository>
....

I also use the following library in my project

    <dependency>
        <groupId>net.sf.jasperreports</groupId>
        <artifactId>jasperreports</artifactId>
        <version>6.14.0</version>
    </dependency>

iText 2.1.7 version is from Jul 2009. isn’t it a little too old?

@Steven_Ebeling

Please note that the Aspose.Words for Java 20.9 is not available at the moment. Hopefully, it will be available at the start of next week.

I found and use des version from apose repository. Library with version 20.9 exists and use old iText version 2.1.7. :frowning:

https://repository.aspose.com/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-words/20.9/aspose-words-20.9.pom

Name: 	aspose-words-20.9.pom
Repository Path: 	repo/com/aspose/aspose-words/20.9/aspose-words-20.9.pom
Module ID: 	com.aspose:aspose-words:20.9
Deployed By: 	anatoly.sidorenko
Size: 	5.34 KB
Created: 	13-09-20 05:12:06 +00:00
Last Modified: 	13-09-20 05:11:56 +00:00

@Steven_Ebeling

Have your problem solved? Please share the screenshot of issue that you are facing. As per our understanding, you are facing issue when Aspose.Words for Java 20.9 is used with iText 2.1.7 Jar.

Please create a simple Java application ( source code without compilation errors ) that helps us to reproduce your problem on our end and attach it here for testing. We will investigate the issue and provide you more information on it.

Hey,

this problm is not solved.
i use

   <dependency>
        <groupId>net.sf.jasperreports</groupId>
        <artifactId>jasperreports</artifactId>
        <version>6.14.0</version>
    </dependency>

this dependeny (jasperreports) used iText 2.1.7.js8


    <dependency>
        <groupId>com.aspose</groupId>
        <artifactId>aspose-words</artifactId>
        <version>20.9</version>
        <classifier>jdk17</classifier>
    </dependency>

Aspose words used iText 2.1.7.js7 and find not iText 2.1.7.js8 ( Could not find artifact com.lowagie:itext:pom:2.1.7.js8 in AsposeJavaAPI (https://repository.aspose.com/repo/))

This is a simple maven project.
is there another solution?

Steven

@Steven_Ebeling

Thanks for sharing the detail. Unfortunately, we are unable to reproduce this issue at our end. Please ZIP and attach the POM file. We will use the same POM file for testing that you are using. Thanks for your cooperation.

here a maven project. building this creates the error mentioned. (mvn/maven install)

[INFO] ------------------< org.example.aspose:aspose-words >-------------------
[INFO] Building aspose-words 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for com.lowagie:itext:jar:2.1.7.js8 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

hope that helps.

Steven
aspose-community-test.zip (2.5 KB)

@Steven_Ebeling

We have tested the scenario again and have not found the shared issue. Please try it at some other system. Perhaps, you are facing this issue due to Maven setting of Intellij. Please refer to the following articles. Hope this helps you.
Import Maven dependencies in IntelliJ IDEA
Force Intellij IDEA to reread all maven dependencies

Hey,

the projects are also built and distributed via Jenkins (Linux). There I get the same error as well as from the command line (mvn clean install). This is NOT an IntelliJ problem. IntelliJ has no control over Maven.


OpenJDK 64-Bit Server VM warning: forcing TieredStopAtLevel to full optimization because JVMCI is enabled
[INFO] Scanning for projects…
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building aspose-words 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://repository.aspose.com/repo/com/lowagie/itext/2.1.7.js8/itext-2.1.7.js8.pom
Downloading: https://repo.maven.apache.org/maven2/com/lowagie/itext/2.1.7.js8/itext-2.1.7.js8.pom
[WARNING] The POM for com.lowagie:itext:jar:2.1.7.js8 is missing, no dependency information available
Downloading: https://repository.aspose.com/repo/com/lowagie/itext/2.1.7.js8/itext-2.1.7.js8.jar
Downloading: https://repo.maven.apache.org/maven2/com/lowagie/itext/2.1.7.js8/itext-2.1.7.js8.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.410 s
[INFO] Finished at: 2020-09-21T08:57:21+02:00
[INFO] Final Memory: 11M/50M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project aspose-words: Could not resolve dependencies for project org.example.aspose:aspose-words:jar:1.0-SNAPSHOT: Could not find artifact com.lowagie:itext:jar:2.1.7.js8 in AsposeJavaAPI (https://repository.aspose.com/repo/) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

Steven

@Steven_Ebeling

We suggest you please download the latest version of Aspose.Words for Java from following link and add its reference to your project.

Download Aspose.Words for Java 20.9

Regarding the issue you are facing using maven, please share your working environment e.g. operating system, Java version etc. Please also share step by step guide that helps us to reproduce this issue at our end. We will investigate this issue further and provide you more information on it.

Hello,

i have uploading itext-2.1.7.js8.jar and *pom to my own artifactory and it works now.

thx and best wishes
Steven