Hi,
I want to use bean validation framework 0.8 with the annotation driven configuration:
<vld:annotation-based-validator id="validator"/>
First - there seems to be a dependency to javax.servlet.ServletContext:
org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name '__handler_registry_validator': Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/servlet/ServletContext
Why that?
And:
Validation takes not place
Do I have to do anything more than adding <vld:annotation-based-validator id="validator"/> the my applicationContext.xml annd annotating my class?
Thx.



