slf4j version conflict while building with Maven

前端 未结 3 1394
我在风中等你
我在风中等你 2020-12-08 22:11

I realised that one of my projects uses slf4j 1.5.8 and Hibernate uses slf4j 1.6. While building with Maven it downloads both jars but I guess the class files of 1.5.8 are u

3条回答
  •  暖寄归人
    2020-12-08 22:42

    you can exclude the wrong version with something like this:

    
      org.hibernate
      hibernate
      3.2.7.ga
      
        
          org.slf4j
          slf4j-api
        
      
    
    

提交回复
热议问题