Upgrade to Spring 4.3.15, seeing internal.xml.ValidationXmlParser - No META-INF/validation.xml


#1

i recently upgrade spring from 3.2 to 4.3.15 Release. After that seeing below issue:

2019-01-09 06:42:02,321 [WebContainer : 21] DEBUG org.jboss.logging - Logging Provider: org.jboss.logging.Log4jLoggerProvider
2019-01-09 06:42:02,322 [WebContainer : 21] INFO internal.util.Version - HV000001: Hibernate Validator 5.2.5.Final
2019-01-09 06:42:02,359 [WebContainer : 21] DEBUG engine.resolver.DefaultTraversableResolver - Found javax.persistence.Persistence on classpath containing ‘getPersistenceUtil’. Assuming JPA 2 environment. Trying to instantiate JPA aware TraversableResolver
2019-01-09 06:42:02,362 [WebContainer : 21] DEBUG engine.resolver.DefaultTraversableResolver - Instantiated JPA aware TraversableResolver of type org.hibernate.validator.internal.engine.resolver.JPATraversableResolver.
2019-01-09 06:42:02,378 [WebContainer : 21] DEBUG internal.engine.ConfigurationImpl - Setting custom MessageInterpolator of type org.springframework.validation.beanvalidation.LocaleContextMessageInterpolator
2019-01-09 06:42:02,379 [WebContainer : 21] DEBUG internal.engine.ConfigurationImpl - Setting custom ConstraintValidatorFactory of type org.springframework.validation.beanvalidation.SpringConstraintValidatorFactory
2019-01-09 06:42:02,380 [WebContainer : 21] DEBUG internal.engine.ConfigurationImpl - Setting custom ParameterNameProvider of type com.sun.proxy.$Proxy651
2019-01-09 06:42:02,385 [WebContainer : 21] DEBUG internal.xml.ValidationXmlParser - Trying to load META-INF/validation.xml for XML based Validator configuration.
2019-01-09 06:42:02,390 [WebContainer : 21] DEBUG internal.xml.ResourceLoaderHelper - Trying to load META-INF/validation.xml via user class loader
2019-01-09 06:42:02,391 [WebContainer : 21] DEBUG internal.xml.ResourceLoaderHelper - Trying to load META-INF/validation.xml via TCCL
2019-01-09 06:42:02,391 [WebContainer : 21] DEBUG internal.xml.ResourceLoaderHelper - Trying to load META-INF/validation.xml via Hibernate Validator’s class loader
2019-01-09 06:42:02,391 [WebContainer : 21] DEBUG internal.xml.ValidationXmlParser - No META-INF/validation.xml found. Using annotation based configuration only.
2019-01-09 06:45:45,687 [WebContainer : 27] DEBUG metadata.descriptor.ConstraintDescriptorImpl - Adding composing constraint: ConstraintDescriptorImpl{annotation=javax.validation.constraints.NotNull, payloads=[], hasComposingConstraints=true, isReportAsSingleInvalidConstraint=false, elementType=FIELD, definedOn=DEFINED_LOCALLY, groups=[interface javax.validation.groups.Default], attributes={groups=[Ljava.lang.Class;@6622009d, payload=[Ljava.lang.Class;@45f6a8e3, message={javax.validation.constraints.NotNull.message}}, constraintType=GENERIC}.
2019-01-09 06:45:45,688 [WebContainer : 27] DEBUG metadata.descriptor.ConstraintDescriptorImpl - Adding composing constraint: ConstraintDescriptorImpl{annotation=javax.validation.constraints.NotNull, payloads=[], hasComposingConstraints=true, isReportAsSingleInvalidConstraint=false, elementType=FIELD, definedOn=DEFINED_LOCALLY, groups=[interface javax.validation.groups.Default], attributes={groups=[Ljava.lang.Class;@4ddc9443, payload=[Ljava.lang.Class;@a771e0e5, message={javax.validation.constraints.NotNull.message}}, constraintType=GENERIC}.
2019-01-09 06:45:45,718 [WebContainer : 27] DEBUG metadata.descriptor.ConstraintDescriptorImpl - Adding composing constraint: ConstraintDescriptorImpl{annotation=javax.validation.constraints.NotNull, payloads=[], hasComposingConstraints=true, isReportAsSingleInvalidConstraint=false, elementType=FIELD, definedOn=DEFINED_IN_HIERARCHY, groups=[interface javax.validation.groups.Default], attributes={groups=[Ljava.lang.Class;@430bec77, payload=[Ljava.lang.Class;@27e42e10, message={javax.validation.constraints.NotNull.message}}, constraintType=GENERIC}.
2019-01-09 06:45:45,719 [WebContainer : 27] DEBUG metadata.descriptor.ConstraintDescriptorImpl - Adding composing constraint: ConstraintDescriptorImpl{annotation=javax.validation.constraints.NotNull, payloads=[], hasComposingConstraints=true, isReportAsSingleInvalidConstraint=false, elementType=FIELD, definedOn=DEFINED_IN_HIERARCHY, groups=[interface javax.validation.groups.Default], attributes={groups=[Ljava.lang.Class;@508ef0a2, payload=[Ljava.lang.Class;@8bbe4281, message={javax.validation.constraints.NotNull.message}}, constraintType=GENERIC}.


#2

I already answered in the Jira issue you created. I don’t see any issue here.