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

后端 未结 5 744
后悔当初
后悔当初 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:18

    If you are using hibernate-validator, in my case, I just added one more dependency as below: (because javax.xml.bind will not be available on classpath by default in JAVA 9 and above, please refer to https://docs.oracle.com/javase/9/docs/api/java.xml.bind-summary.html )

提交回复
热议问题