If JPA is on the classpath, HV uses a default TraversableResolver to handle non-initialized JPA proxies properly. However creation of this JPATraversableResolver fails with java.lang.IllegalAccessException: Class org.hibernate.validator.internal.util.privilegedactions.NewInstance can not access a member of class org.hibernate.validator.internal.engine.resolver.JPATraversableResolver with modifiers "" which is logged only on debug-level and the implementation continues with the TraverseAllTraversableResolver. Please find simple test case here https://github.com/abenneke/sandbox/tree/master/hibernate-validator-traversable |