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:
parent
f07a36b78f
commit
84629e314d
|
@ -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
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue