Odd TLS related error setting up a new project

I just created a new Jmix project, and when trying to compile, I’m getting:

Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
   > Could not resolve io.jmix.ui:jmix-ui-themes-compiled:1.5.5.
     Required by:
         project :
      > Could not resolve io.jmix.ui:jmix-ui-themes-compiled:1.5.5.
         > Could not get resource 'https://global.repo.jmix.io/repository/public/io/jmix/ui/jmix-ui-themes-compiled/1.5.5/jmix-ui-themes-compiled-1.5.5.pom'.
            > Could not GET 'https://global.repo.jmix.io/repository/public/io/jmix/ui/jmix-ui-themes-compiled/1.5.5/jmix-ui-themes-compiled-1.5.5.pom'.
               > The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/7.6/userguide/build_environment.html#gradle_system_properties
                  > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
   > Could not resolve io.jmix.ui:jmix-ui-themes-compiled:1.5.5.
     Required by:
         project : > io.jmix.bom:jmix-bom:1.5.5
      > Could not resolve io.jmix.ui:jmix-ui-themes-compiled:1.5.5.
         > Could not get resource 'https://global.repo.jmix.io/repository/public/io/jmix/ui/jmix-ui-themes-compiled/1.5.5/jmix-ui-themes-compiled-1.5.5.pom'.
            > Could not GET 'https://global.repo.jmix.io/repository/public/io/jmix/ui/jmix-ui-themes-compiled/1.5.5/jmix-ui-themes-compiled-1.5.5.pom'.
               > The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/7.6/userguide/build_environment.html#gradle_system_properties
                  > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

This is a very simple default project generated with the “Jmix Full Stack” template.

Indeed, the error manifested to me and few others, it seems that the problem is with the certificate for the repository. It was reported on the Jmix Slack also, so the team knows about the problem.

Hi Jon! There were some problems with the security certificate update. Hopefully we fixed it. Please try again

1 Like

'Tis fixed; thank you. :slight_smile: