Maven using wrong version of javax.validation

前端 未结 5 1322
眼角桃花
眼角桃花 2020-12-20 22:59

I have a dynamic web project I have been working on that uses hibernate as a jpa provider. Up until the last week, I could insert, update, query, and delete from my databas

5条回答
  •  醉话见心
    2020-12-20 23:20

    Do mvn dependency:tree , May you have another dependencies that use hibernate-annotations, and conflict with your spring version, also you can find them and exclude from class path, as below:

     
        
           org.hibernate
            hibernate-annotations
        
      
    

    I hopefully help you.

提交回复
热议问题