Unable to find credentials for [Artifactory Realm @ maven.aspose.com]

Hello,


I am using sbt (scala’s simple build tool) to pick the jar file of Aspose.Cells for my project and I get this response.

[error] Unable to find credentials for [Artifactory Realm @ maven.aspose.com].
[warn] [FAILED ] com.aspose#aspose-cells;8.9.0!aspose-cells.jar: (0ms)

It doesn’t happen to me with Aspose.Words or Aspose.Pdf tools, and I can browse the repository with a browser and download the jar. However I need the capacity of picking this jar from the repository with the sbt.

Could you tell me how could I do it?

Thank you,

Guillem

Hi,

Thanks for your posting and using Aspose.Cells.

Please explain your issue with some step by step screenshots. It will help us understand your issue quickly and we will be able to replicate it at our end and log it in our database for a fix. Thanks for your cooperation in this regard and have a good day.

Hello,


Sure, find attached the files.
These are the steps to reproduce it for me:
First I add aspose-cells in my project:
In Capture1.png you will see my build.sbt file, there I have referenced aspose-cells but as well aspose-words and aspose-pdf.

Then I run “sbt publish”:
In Capture2.png you will see part of the feed when I run “sbt publish” in the cmd for my project. You will see that there is a failure in downloading the files.


Best regards,

Guillem

Hi,

Thanks for your screenshots. It will be helpful in investigating this issue.

Could you please also provide a simplest project and describes the steps how to execute it. Please include Aspose.Words, Aspose.Pdf along with Aspose.Cells. Thanks for your cooperation in this regard.

Hello,


Thank you for your follow up. Find a simple project attached.
* You’ll find the build file at CellsSbt\build.sbt
* You’ll find the main class at CellsSbt\src\main\scala\CellsSbt.scala. This class will instanciate a cells.Workbook class if given a correct path of an excel file.
* To reproduce the problem you can either
- Install sbt. Go to cmd, enter the file project. Run the command “sbt update”.
- Install sbt. Go to the IDE (I use Intelij) open the project as an sbt scala project and refresh sbt.

When adding sbt. You’ll see it successfully added the jars for aspose-words and aspose-pdf but having the error for aspose-cells.

Best regards,

Guillem

Hi,

Thanks for all the information and using Aspose.Cells.

We will look into this issue and update you asap.

Hi,

Thanks for using Aspose APIs.

I have attached the error screenshot and the log file generated by IntelliJ IDEA - Scala software. It seems, I am able to replicate this issue. Kindly check the screenshot and download the log file and evaluate it and let us know if it replicates your error successfully or we are missing something. I will then log the issue for a fix for development team. Thanks for your cooperation in this regard.

Hi,


* I confirm this is exactly what is shown in IntelIj.
* As I see in the screenshot, you will find a more descriptive log of your error in the following folder in your machine C:\Users\IQ.IdeaIC2016.2\system\log\sbt.last.log .
* It should be similar to my log when ran this, find it attached. It contains the line:
[error] Unable to find credentials for [Artifactory Realm @ maven.aspose.com].

Thank you for your looking at this issue,

Best regards,

Guillem

Hi,

Thanks for your confirmation and using Aspose APIs.

We have now logged this issue in our database for investigation. We will look into it and fix this issue if possible. Once the issue is resolved or we have some other update for you, we will let you know asap.

This issue has been logged as

  • CELLSJAVA-41939 - Unable to find credentials for [Artifactory Realm @ maven.aspose.com]

Hi,

Thanks for using Aspose.Cells.

Please change

"com.aspose" % “aspose-cells” % “8.9.0” classifier “jdk16"

as

"com.aspose” % “aspose-cells” % "8.9.0"

and it should fix your issue.

Hi Shakeel,


I just changed

“com.aspose” % “aspose-cells” % “8.9.0” classifier “jdk16"

as

"com.aspose” % “aspose-cells” % "8.9.0"

but I still got the same error with the same error message.

What else can I try?

Best regards,

Guillem

Hi Guillem,

Did you download aspose-cells-8.9.0.jar from maven server now?

Hi Simon,


That is correct. I can browse the repository with a browser and download the jar. However I need the capacity of picking this jar from the repository with the sbt but I got the error explained in the thread.

Best regards,

Guillem

Hi Guillem,

I want to confirm that if you can download aspose-cells-8.9.0.jar with “sbt update” when the setting set as “com.aspose” % “aspose-cells” % “8.9.0”
When I run “sbt update” in my machine with the following setting:
a)“com.aspose” % “aspose-cells” % “8.9.0” classifier “jdk16”
There are two error:
[error] Unable to find credentials for [Artifactory Realm @ maven.aspose.com].
[warn] [FAILED ] com.aspose#aspose-cells;8.9.0!aspose-cells.jar: (0ms)
b)“com.aspose” % “aspose-cells” % “8.9.0”
There is only one error:
[error] Unable to find credentials for [Artifactory Realm @ maven.aspose.com].

Did you get the same result as mine?

Hi Simon,


I just tested again and now I was able to add repositories when removing the classifier “jdk16” I was unable to when I tested last time. I need this in the words though. I finally got this configuration:

“com.aspose” % “aspose-cells” % “8.9.0”,
“com.aspose” % “aspose-words” % “16.4.0” classifier “jdk16”,
“com.aspose” % “aspose-pdf” % “11.5.0”,

Can you confirm this is a correct one?

Best regards,

Guillem

Hi,

Thanks for your feedback and using Aspose.Cells.

We have logged your comment in our database for product team analysis. We will look into it and update you. Once, there is some news for you, we will let you know asap.

Hi Guillem,

Yes, your config is correct.