-
Bug
-
Resolution: Duplicate
-
Critical
-
None
-
jenkins LTS 2.387.1
Eversince we upgraded to Jenkins 2.387.1, some jobs are failing on class not found for HttpMethod.
Upon investigation, it appears that commons-httpclient-3.1-jenkins-3.jar is missing even when we have commons-httpclient3-api:3.1-3 plugin installed
bash-4.2$ pwd
/var/jenkins_home/war/WEB-INF/lib
bash-4.2$ ls -ltr common
rw-rw-r- 1 jenkins jenkins 140940 Mar 16 22:40 commons-jexl-1.1-jenkins-20111212.jar
rw-rw-r- 1 jenkins jenkins 37430 Mar 16 22:40 commons-jelly-tags-xml-1.1.jar
rw-rw-r- 1 jenkins jenkins 588337 Mar 16 22:40 commons-collections-3.2.2.jar
rw-rw-r- 1 jenkins jenkins 246918 Mar 16 22:40 commons-beanutils-1.9.4.jar
rw-rw-r- 1 jenkins jenkins 74132 Mar 16 22:40 commons-fileupload-1.5.jar
rw-rw-r- 1 jenkins jenkins 22479 Mar 16 22:40 commons-jelly-tags-fmt-1.0.jar
rw-rw-r- 1 jenkins jenkins 327135 Mar 16 22:40 commons-io-2.11.0.jar
rw-rw-r- 1 jenkins jenkins 185012 Mar 16 22:40 commons-jelly-1.1-jenkins-20220630.jar
rw-rw-r- 1 jenkins jenkins 72781 Mar 16 22:40 asm-commons-9.4.jar
rw-rw-r- 1 jenkins jenkins 353793 Mar 16 22:40 commons-codec-1.15.jar
rw-rw-r- 1 jenkins jenkins 1039712 Mar 16 22:40 commons-compress-1.22.jar
rw-rw-r- 1 jenkins jenkins 330246 Mar 16 22:40 jcommon-1.0.23.jar
rw-rw-r- 1 jenkins jenkins 284220 Mar 16 22:40 commons-lang-2.6.jar
rw-rw-r- 1 jenkins jenkins 79796 Mar 16 22:40 commons-discovery-0.5.jar
rw-rw-r- 1 jenkins jenkins 22732 Mar 16 22:40 commons-jelly-tags-define-1.0.1-hudson-20071021.jar
bash-4.2$
- duplicates
-
JENKINS-70807 applitools plugin - java.lang.ClassNotFoundException: org.apache.commons.httpclient.HttpMethod
-
- Open
-
[JENKINS-70818] Applitools eyes plugin needs release that does not require httpclient 3.x
Summary | Original: Missing commons-httpclient-3.1-jenkins-3.jar in jenkins lib folder in jenkins Jenkins 2.387.1 | New: Applitools plugin needs release that does not require httpclient 3.x |
Component/s | New: applitools-eyes-plugin [ 21728 ] | |
Component/s | Original: commons-httpclient3-api-plugin [ 29120 ] |
Epic Link | New: JENKINS-69988 [ 217175 ] |
Summary | Original: Applitools plugin needs release that does not require httpclient 3.x | New: Applitools eyes plugin needs release that does not require httpclient 3.x |
Link | New: This issue duplicates JENKINS-70807 [ JENKINS-70807 ] |
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
Please provide the list of plugins installed and their versions. The script console can be used to generate that list using the instructions in "How to report an issue". It is likely that you have a plugin installed that has not been updated to depend on the httpcomponents plugin instead of assuming that HttpClient 3 is available inside Jenkins.
The Jenkins 2.387.1 changelog says:
JENKINS-69988 tracks the plugins that may depend on HttpClient 3.x and includes a link to a worksheet with a list of plugins that may depend on HttpClient 3.