OK, I'm trying to get a validator working with jsp form. Just started using maven, so this is all a little new ... what's the best way to determine which repository I should choose for the above class? I already have the following data to verify:
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>1.0.0.GA</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator-annotation-processor</artifactId>
<version>4.1.0.Final</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>4.1.0.Final</version>
</dependency>
I tried loading sleep mode myself, but it broke the assembly: I use eclipse to save, and creation fails after dragging and dropping into a huge number of pre-libraries.
I thought that I should get a better strategy than just pricking with repositories.
Just to be clear: I get an error message:
java.lang.NoClassDefFoundError: failed to initialize class org.hibernate.validator.engine.ConfigurationImpl
hibernate-validator, , .