Free Support Forum - aspose.com

There was no problem. Suddenly, it happened. [Gradle setting]

I faced the problem below
there was no problem. Suddenly, it happened. So I lowered the version. Why is this happening?

Problem
Could not resolve all dependencies for configuration ‘:compile’.

Could not resolve com.aspose:aspose-slides:18.2.1.
Required by:
keywert:patent:1.0.1
Could not GET ‘http://maven.aspose.com/repository/simple/ext-release-local/com/aspose/aspose-slides/18.2.1/aspose-slides-18.2.1.pom’.
peer not authenticated

Gradle setting
repositories {
// NOTE: You should declare only repositories that you need here
mavenLocal()
mavenCentral()
maven { url “http://repo.spring.io/release” }
maven { url “http://repo.spring.io/milestone” }
maven { url “http://repo.spring.io/snapshot” }
// maven { url “http://maven.aspose.com/artifactory/simple/ext-release-local”}
maven { url “http://maven.aspose.com/repository/simple/ext-release-local”}
}

dependencies {
configurations {
insecure.exclude module: ‘spring-boot-starter-security’
}

// import translage
compile fileTree(dir: 'libs', include: ['*.jar'])

//aspose
compile(group: 'com.aspose', name: 'aspose-slides', version: '18.2.1', classifier: 'jdk16')
compile(group: 'com.aspose', name: 'aspose-words', version: '18.1', classifier: 'jdk16')
compile(group: 'com.aspose', name: 'aspose-cells', version: '18.1')

@yunpat81,

I like to share that we have moved our APIs to following repository server and request you to please update your POM in accordance with the following.

https://artifact.aspose.com/repo/com/aspose/aspose-slides/18.2.1/

I also suggest you to please visit installation documentation section for your kind reference as well.

We currently use slider and word cell.

https://artifact.aspose.com/repo/com/aspose/aspose-slides/18.2.1/ I am wondering if I can manage the above three integrally, rather than the corresponding url.

"http://maven.aspose.com/repository/simple/ext-release-local" => "https://artifact.aspose.com/repo" Can I simply change this?

@yunpat81,

I suggest you to please visit this documentation link for your convenience to access the latest repository server. You need to update the POM in accordance to documentation article.

As a result of writing in the link document, the following error has appeared.

According to our web server main developer, adding SSL will cause additional work.

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Could not resolve com.aspose:aspose-slides:18.1.
Required by:
project :
Could not resolve com.aspose:aspose-slides:18.1.
Could not get resource ‘https://artifact.aspose.com/repo/com/aspose/aspose-slides/18.1/aspose-slides-18.1.pom’.
Could not HEAD ‘https://artifact.aspose.com/repo/com/aspose/aspose-slides/18.1/aspose-slides-18.1.pom’.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

@yunpat81,

I suggest you to please download the latest properly configuredAspose.Slides for Java GIT examples compiled using latest Aspose.Slides for Java 18.4. You will also observe updated POM and all you need to do would be build the application and it shall fetch the latest JARs based on POM entries from repository. I hope this will be helpful.