Sep 28th, 2006, 03:31 AM
running petclinic in snapshot 0.3
Running petclinnic from the 0.3-SNAPSHOT once compiled causes "Class not found exception: org.hibernate.validator.InvalidStateException". So, after a search I founded that class in Hibernate Annotations. Added that jar to the classpath and now the petclinnic works.
Sounds a little bit odd to have to include that hibernate jar if the petclinic-business.jar is not configured to use hibernate.
Sep 28th, 2006, 03:55 AM
did you try a
mvn install eclipse:eclipse idea:idea
Sep 28th, 2006, 04:32 AM
Well, No, currently I develop with netbeans. I only did a "mvn install"
Originally Posted by ge0ffrey
But I was talking about running the petclinnic without any development environment, as an end user of the petclinnic, and setting the *needed* runtime dependences in the classpath.
Sep 28th, 2006, 05:12 AM
There's a plugin for netbeans for maven (see maven.apache.org)
But if you're doing it manually, here is a list of all dependencies:
As you can see, hibernate is one of them for petclinic