I need to run JMeter test plan on the server and I get the error at run time: unable to resolve class org.apache.commons.lang.RandomStringUtils at line import org.apache.commons.lang.RandomStringUtils;.
As I understand some plugin is missing on the server JMeter location. After unsuccessfully web searching for that problem pertaining to JMeter specifically, I've found page https://commons.apache.org/proper/commons-lang/javadocs/api-3.9/org/apache/commons/lang3/RandomStringUtils.html.
I've downloaded commons-lang package from apache site, it contains files commons-lang*.jar. In lib folder of JMeter there are also files of jar type, on workstation where test plan works I've found commons-lang3-3.8.1.jar jar in bin folder of jmeter. Running jar -tf shows it has RandomStringUtils class. I copied the file to the server to its lib folder. But the error persisted.
I've read Java jars unable to resolve class but I assume jmeter looks in lib for plugins jar files as there are many files there already.
What else could be the problem? Should I register plugin somehow? From my experience just copying jar to lib/ext was enough. JMeter version is same: 5.1.1.