Could not resolve com.haulmont.uberjar:uberjar

Dear Srs.,

I’m following your tutorial to make am Uber Jar in this link: Deployment with Docker - CUBA Platform. Developer’s Manual
But when i use CUBADeploymentBuild UberJAR

I got this error:
Execution failed for task ‘:buildUberJar’.

Could not resolve all files for configuration ‘:uberJar’.
Could not resolve com.haulmont.uberjar:uberjar:1.3.2.
Required by:
project :
Could not resolve com.haulmont.uberjar:uberjar:1.3.2.
Could not get resource ‘https://dl.bintray.com/cuba-platform/main/com/haulmont/uberjar/uberjar/1.3.2/uberjar-1.3.2.pom’.
Could not GET ‘https://dl.bintray.com/cuba-platform/main/com/haulmont/uberjar/uberjar/1.3.2/uberjar-1.3.2.pom’.
java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Could not resolve com.haulmont.uberjar:uberjar:1.3.2.
Could not get resource ‘https://jcenter.bintray.com/com/haulmont/uberjar/uberjar/1.3.2/uberjar-1.3.2.pom’.
Could not GET ‘https://jcenter.bintray.com/com/haulmont/uberjar/uberjar/1.3.2/uberjar-1.3.2.pom’.
java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

I’m using the 7.2.11 version.

Thanks in advance for your support

Hi!
Could you please provide more information about your problem and if it is possible, attached a small project that reproduced it?

Regards,
Elena

Hi
The problem occurs because of this error:

Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

I recommend you to check this thread, hope it helps

Thank you Skatova and Natalia for answering,

I have read the link and changed my java jdk 8 from oracle to java jdk 11 from amazon and it worked. Thanks again!

1 Like