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

后端 未结 5 774
后悔当初
后悔当初 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
    慢半拍i (楼主)
    2021-01-05 17:22

    You need to have all require dependency

        
    
        
            javax.validation
            validation-api
            1.1.0.Final
        
        
            org.hibernate
            hibernate-validator
            5.4.3.Final
        
        
            org.hibernate
            hibernate-validator-annotation-processor
            5.4.3.Final
        
        
            org.hibernate
            hibernate-validator-cdi
            5.4.3.Final
        
        
            org.jboss.logging
            jboss-logging
            3.3.0.Final
        
        
            org.glassfish
            javax.el
            3.0.1-b08
        
        
            com.fasterxml
            classmate
            1.3.1
        
    

提交回复
热议问题