I\'m having trouble when Using @ControllerAdvice and @Valid annotations together in a REST controller.
I have a rest controller dec
In addition to this I had another problem on recursive validation.
The generated classes were missing a @valid annotation on the other XmlElements.
The reason for this is related to the fact that I was wrongly using the namespaces:
The plugin is configured to use a particular namespace
-XJsr303Annotations:targetNamespace=http://www.foo.com/bar
So the XSD need to have this as target namespace (e.g.):
Kind regards Antonio