addPropertyNode - equivalent in version 1.0?
问题 Relatively simple probably. The Java 7 documentation for the ConstraintViolationBuilder interface specifies: addNode ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext addNode(String name) Deprecated. since 1.1 - replaced by addPropertyNode(String) and addBeanNode() Adds a node to the path the ConstraintViolation will be associated to. name describes a single property. In particular, dot (.) is not allowed. "Now" the documentation also includes the methods