HHH-14837 - Move to Jakarta EE

fix-ups from the latest rebase (Bean Validation integration);
still looking into the incompatible class changes problem
This commit is contained in:
Steve Ebersole 2021-09-27 10:01:54 -05:00
parent f07a36b78f
commit 84629e314d
2 changed files with 6 additions and 0 deletions

View File

@ -53,6 +53,7 @@ dependencies {
testImplementation libraries.shrinkwrap_descriptors_impl_javaee
testImplementation libraries.jakarta_jacc
testImplementation libraries.jakarta_validation
testImplementation libraries.jakarta_el
testImplementation( libraries.jakarta_validator ) {
// for test runtime
transitive = true

View File

@ -501,6 +501,11 @@ class TypeSafeActivator {
return Validation.buildDefaultValidatorFactory();
}
catch ( Exception e ) {
LOG.infof(
e,
"Error calling `%s`",
"jakarta.validation.Validation#buildDefaultValidatorFactory"
);
throw new IntegrationException( "Unable to build the default ValidatorFactory", e );
}
}