[ERROR] Maven: Could not find artifact io.confluent:kafka-avro-serializer:jar:3.3.1 in central (https://repo.maven.apache.org/maven2)

Cause This is typical error when you first time use dependencies which are not coming from the most popular maven repository. In this case I wanted to use package which…

Continue Reading[ERROR] Maven: Could not find artifact io.confluent:kafka-avro-serializer:jar:3.3.1 in central (https://repo.maven.apache.org/maven2)

Maven: Could not resolve dependencies for project… Could not transfer artifact… sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertP athBuilderException: unable to find valid certification path to requested target -> [Help 1]

Maven is trying to connect to artifact repository using https, but you don't have valid ssl certificates. Solution Let's use maven option like below to allow maven use insecure connection.…

Continue ReadingMaven: Could not resolve dependencies for project… Could not transfer artifact… sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertP athBuilderException: unable to find valid certification path to requested target -> [Help 1]