Quote:
However, in a somewhat large Spring 3.0 M4 app using Hibernate core as well as other open-source APIs, I got the following exception in Tomcat when I try to start it (Tomcat) after deploying the WAR while trying to validate a simple Java bean which is not persistent.
What other libraries, especially Hibernate related ones are you using? Maybe you can list all you dependencies? I am guessing that you are having a Hibernate application using JPA 1 via Hibernate EntityManager. What I don't understand is why the JPATraversableResolver gets enabled. This resolver is intended for JPA 2 and will not work in an JPA 1 application. Unless you are explicitly specifying this resolver in the configuration it should not be used.
For that reason it would be great if you could provide some more context on how you are using Validator and how you are bootstrapping it. It might be a problem in the JPA version detection mechanism or a problem with maven (transitive) dependencies.
In case you are explicitly configuring the JPATraversableResolver in a JPA 1 application you should read this thread -
viewtopic.php?f=9&t=999747 You will need a custom BeanValidationEventListener in your code and register it with Hibernate in the configuration file.
--Hardy