PKIX SunCertPathBuilderException

I’m unable to build due to a PKIX SunCertPathBuilderException exception

If you’re running an older versions of java (e.g. below 1.8u101) you may run into a similar error as below:

[ERROR] Non-resolvable import POM: Could not transfer artifact com.broadleafcommerce.microservices:broadleaf-microservices-dependencies:pom:1.X.X.X-GA from/to broadleaf-microservices ( PKIX path building failed: unable to find valid certification path to requested target @ line 209, column 25

This is because the Broadleaf Repository has an SSL cert provided by Let’s Encrypt. It’s easiest to upgrade your java version to one’s that have Let’s Encrypt as a certified authority. See here for more details: