Hibernate Validator java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.validator.internal.engine.ConfigurationImpl

前端 未结 7 556
南方客
南方客 2021-01-19 02:15

I have read this and this, but that didn\'t help...

I am using hibernate validator with the following versions/dependencies:


             


        
7条回答
  •  灰色年华
    2021-01-19 02:22

    Try like this config :

    
    
            4.3.11.Final
        
    
         
            
            
                org.hibernate
                hibernate-core
                ${hibernate.version}
            
    
            
            
                javax.validation
                validation-api
                1.1.0.Final
            
            
                org.hibernate
                hibernate-validator
                5.1.3.Final
                
    
        
    

    For a complete example..

提交回复
热议问题