I am getting an error while developing hello-world microservice sdk for java in Cumulocity Iot
com.nsn.cumulocity.clients-java:microservice-autoconfigure:pom:1015.0.278 failed to transfer from maven repository during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of cumulocity has elapsed or updates are forced. Original error: Could not transfer artifact com.nsn.cumulocity.clients-java:microservice-autoconfigure:pom:1015.0.278 from/to cumulocity (maven repository): PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
This is a problem very related to your tooling, hardware and network infrastructure.
These answers should point you to a solution, assuming its an issue with certs of your corporate proxy:
make sure to not use https://repo.maven.apache.org/ but https://download.cumulocity.com/ to download the certificate and import in your keystore locally.
Also your pom.xml should contain this blog of course: