Jenkins sonarqube analysis generates error

SonarQube version-6.7.7
SonarScanner version-
I developed a custom plugin which uses dependencies httpclient(4.5.12), httpasyncclient(4.1.3), httpmime(4.5.12) the sonarscanner analysis was successful when i executed the analysis via command line, but getting error:
ERROR: org.apache.http.impl.conn.CPool.setValidateAfterInactivity(I)V
when i run analysis via jenkins??

I’ve never encountered this issue before can i know the reason why?