Not able to build dropwizard-example project

53 views
Skip to first unread message

Amit Kumar

unread,
Oct 10, 2021, 9:11:14 AM10/10/21
to dropwizard-user
Hi,

I cloned the dropwizard project from git and tried to build the code.
Getting below error. 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  10.193 s
[INFO] Finished at: 2021-10-10T18:32:20+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.simplify4u.plugins:pgpverify-maven-plugin:1.14.1:check (default) on project dropwizard-util: Execution default of goal org.simplify4u.plugins:pgpverify-maven-plugin:1.14.1:check failed: Failed to process signature for artifact com.fasterxml.jackson.core:jackson-databind:jar:2.13.0: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target for: https://keyserver.ubuntu.com/pks/lookup?op=get&options=mr&search=0x8A10792983023D5D14C93B488D7F1BEC1E2ECAE7 -> [Help 1]

Could someone help me resolving the issue.
please let me know if need any more logs.

Thanks
Amit

Peter Stackle

unread,
Oct 12, 2021, 9:42:41 PM10/12/21
to dropwizard-user
What version of Java are you building with?

That endpoint looks to be using the relatively-recent Let's Encrypt root that has been migrated to because the old Let's Encrypt root expired at the end of September. 

You could also check to see if your java trust store has the "ISRG Root X1" root certificate in it. 

```
$ keytool -list -cacerts | grep letsencrypt
Enter keystore password:  changeit
letsencryptisrgx1 [jdk], Jun 4, 2015, trustedCertEntry,
```

Reply all
Reply to author
Forward
0 new messages