My DropWizard JAX-RS project was using the DW's now-deprecated JUnit 4 rule for testing, which at least worked. I recently attempted to change to JUnit 5 and us
Annotation: @Target({METHOD, CONSTRUCTOR, PARAMETER, FIELD}) @Documented @Constraint(validatedBy = AtLeastOneNotNullValidator.class) @Retention(RUNTIME) public