-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major
-
Component/s: nvm-wrapper-plugin
-
Environment:Jenkins 2.581
Openjdk 21.0.12.1 2026-08-18 LTS
Debian 12.15
This plugin stopped working with the latest Jenkins updates, which completely removed the deprecated Apache Commons Lang 2 library from the Jenkins core class path.
Supposedly there is a workaround by installing the Commons Lang 2 API Plugin, though this needs to be manually added. I haven't tried this yet because it is a bit hack.
Â
10:34:14 FATAL: org/apache/commons/lang/StringUtils
10:34:14 java.lang.ClassNotFoundException: org.apache.commons.lang.StringUtils
10:34:14 Caused: java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils
10:34:14 Â Â at PluginClassLoader for nvm-wrapper//org.jenkinsci.plugins.nvm.NvmWrapper.setUp(NvmWrapper.java:70)
10:34:14 Â Â at hudson.model.Build$BuildExecution.doRun(Build.java:158)
10:34:14 Â Â at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:526)
10:34:14 Â Â at hudson.model.Run.execute(Run.java:1849)
10:34:14 Â Â at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
10:34:14 Â Â at hudson.model.ResourceController.execute(ResourceController.java:97)
10:34:14 Â Â at hudson.model.Executor.run(Executor.java:456)