Error creating bean with name 'org.springframework.validation.beanvalidation.OptionalValidatorFactoryBean#0

后端 未结 5 777
后悔当初
后悔当初 2021-01-05 17:09

Im new to hibernate, and not quite sure what is wrong with my application. So i have these 2 modules: Core and Website.

  • Module core has all the entities, daos
5条回答
  •  旧时难觅i
    2021-01-05 17:41

    I don't think that you can use hibernate-validator 5.2.2 (for Hibernate 5) with Hibernate 4. Try to use hibernate-validator 4.2.0.Final.

    And there are two ehcache jars in your class path!

    Try to use Maven or Gradle build to get valid dependences.

提交回复
热议问题