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

后端 未结 5 783
后悔当初
后悔当初 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条回答
  •  遥遥无期
    2021-01-05 17:42

    You don't need to remove logback-classic.jar, Instead the root cause seems to be the missing definition for org.hibernate.validator.internal.engine.ConfigurationImpl As per Google, you need to include http://mvnrepository.com/artifact/org.hibernate/hibernate-validator If its a maven project then the below config in your pom dependencies shall make things work smooth for you

    
    org.hibernate
    hibernate-validator
    5.2.4.Final
    

提交回复
热议问题