Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Failed to read artifact descriptor for com.day.cqse:cqse-httpservice:jar from/to adobe-public-releases

Avatar

Community Advisor

Hi,

Getting this error...

[ERROR] Failed to execute goal on project core-services: Could not resolve dependencies for project com.core-services:bundle:

1.1.0: Failed to collect dependencies at com.day.cqse:cqse-httpservice:jar:4.1.24: Failed to read artifact descriptor for com.day.cqse:cqse-httpservice:jar:4.1.

24: Could not transfer artifact com.day.cqse:cqse-httpservice:pom:4.1.24 from/to adobe-public-releases (http://repo.adobe.com/nexus/content/groups/public): java

.lang.RuntimeException: Could not generate DH keypair: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive) -> [Help 1]

Kindly advice what can be done.

Thanks,

Peter

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi,

if maven runs with java 1.7, it shouldn't matter. Just instruct the java compiler to generate code for 1.6.

kind regards,
Jörg

View solution in original post

3 Replies

Avatar

Employee Advisor

Hi Peter,

which java version does your maven use? Can you switch at least to 1.7? Looks like a problem with Oracle/Sun Java 1.6. At least that's what I found out.

kind regards,
Jörg

Avatar

Community Advisor

Thank you for your reply,

Maven 3.2.3, JDK 1.6-45

Can't switch to 1.7 as for this project the requirement is to use JDK 1.6 ...

Thanks,

Peter

Avatar

Correct answer by
Employee Advisor

Hi,

if maven runs with java 1.7, it shouldn't matter. Just instruct the java compiler to generate code for 1.6.

kind regards,
Jörg