Duplicate class. How to solve this? Build failed, thanks.
implementation 'org.springframework:spring-web:5.1.9.RELEASE'
implementation 'org.springframework:spring-context:5.1.9.RELEASE'
implementation 'org.apache.httpcomponents:httpclient:4.5.9'
Duplicate class org.apache.commons.logging.Log found in modules commons-logging-1.2.jar (commons-logging:commons-logging:1.2) and spring-jcl-5.1.9.RELEASE.jar (org.springframework:spring-jcl:5.1.9.RELEASE) Duplicate class org.apache.commons.logging.LogFactory found in modules commons-logging-1.2.jar (commons-logging:commons-logging:1.2) and spring-jcl-5.1.9.RELEASE.jar (org.springframework:spring-jcl:5.1.9.RELEASE) Duplicate class org.apache.commons.logging.LogFactory$1 found in modules commons-logging-1.2.jar (commons-logging:commons-logging:1.2) and spring-jcl-5.1.9.RELEASE.jar (org.springframework:spring-jcl:5.1.9.RELEASE) Duplicate class org.apache.commons.logging.impl.NoOpLog found in modules commons-logging-1.2.jar (commons-logging:commons-logging:1.2) and spring-jcl-5.1.9.RELEASE.jar (org.springframework:spring-jcl:5.1.9.RELEASE) Duplicate class org.apache.commons.logging.impl.SimpleLog found in modules commons-logging-1.2.jar (commons-logging:commons-logging:1.2) and spring-jcl-5.1.9.RELEASE.jar (org.springframework:spring-jcl:5.1.9.RELEASE)