I will try to hibernate validation to join my web project, but if there is a spring in project - the context - the indexer - 5.0.6. RELEASE. This jar jar package, will lead to use at run time to check thrown Java. The lang. The annotation. AnnotationFormatError: Duplicate annotation for class is an exception which will cause me to fail to integrate hibernate validation into my web project. How can I solve this problem?
Answered on StackOverflow here: https://stackoverflow.com/questions/56426644/i-cant-integrate-hibernate-validator-into-a-javaweb-project-using-the-spring-fr/56461774#56461774 .
Hopefully, it will help.