Maven build [WARNING] we have a duplicate class

前端 未结 8 1269
醉话见心
醉话见心 2020-12-03 16:30

Anybody has any idea what happened to my maven build? I am getting a lot of duplicate warnings.

[WARNING] We have a duplicate org/apache/commons/logging/impl         


        
8条回答
  •  伪装坚强ぢ
    2020-12-03 17:32

    All above (about reviewing dependencies tree and excluding) is correct in the most of cases, but in my case (i didn't have overlapping in my dependencies) preliminary clean helped (don't know why though):

    mvn clean package

提交回复
热议问题