Check your version of commons-lang, mine was version 2.6 used sudo find / | grep commons-lang

add to the dependencies before plugins and ensure id starts with I not i:

<dependency> 
    <groupId>commons-lang</groupId> 
    <artifactId>commons-lang</artifactId> 
    <version>2.6</version>
</dependency> 

Does not build as per wiki there is no controller/opendaylight/distribution/opendaylight/target in order to ./run.sh So I am looking for that now ??

Answer from Mick Williams on Stack Overflow
🌐
Maven Repository
mvnrepository.com › artifact › org.apache.commons › commons-lang3
Maven Repository: org.apache.commons » commons-lang3
November 12, 2025 - Apache Commons is an Apache project focused on all aspects of reusable Java components. Links · Core Utilities · Classpath Tools · Object Pools · Job Scheduling · Collections · Date and Time Utilities · Maven Plugins · Testing · Android Packages · Language Runtime · JVM Languages · Logging Frameworks · JSON Libraries · Java Specifications · Core Utilities · Mocking · Annotation Libraries · Web Assets · HTTP Clients · Logging Bridges · Dependency Injection ·
🌐
Baeldung
baeldung.com › home › java › java string › string processing with apache commons lang 3
String Processing with Apache Commons Lang 3 | Baeldung
January 8, 2024 - In addition to providing a general introduction to the library, this tutorial demonstrates methods of the StringUtils class which is used for manipulation of String instances. In order to use the Commons Lang 3 library, just pull it from the central Maven repository using the following dependency: <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.14.0</version> </dependency> You can find the latest version of this library here.
🌐
Jar-Download
jar-download.com › home › org.apache.commons › commons-lang3 › 3.8 › source code › stringutils.java
org.apache.commons.lang3.StringUtils Maven / Gradle / Ivy
org.apache.commons.lang3.StringUtils maven / gradle build tool code. The class is part of the package ➦ Group: org.apache.commons ➦ Artifact: commons-lang3 ➦ Version: 3.8
🌐
Medium
medium.com › @nagarjun_nagesh › java-apache-commons-stringutils-33c6d779dabe
[Java] Apache Commons StringUtils | by Nagarjun (Arjun) Nagesh | Medium
July 10, 2024 - Apache Commons Lang is a popular library that provides a host of helper utilities for the Java standard library. The StringUtils class is particularly useful for string manipulation, offering methods for handling null inputs, whitespace, capitalization, abbreviations, and more. To use StringUtils, include the following Maven dependency in your pom.xml:
🌐
Apache Maven
maven.apache.org › shared › maven-shared-utils › apidocs › org › apache › maven › shared › utils › StringUtils.html
StringUtils (Apache Maven Shared Utils 3.4.2 API)
this method produces platform dependent code and contributes to non-reproducible builds. ... Parses the given String and replaces all occurrences of '\n', '\r' and '\r\n' with the system line separator. ... Convert a String to upper case, null String returns null. clone, equals, finalize, getClass, ...
🌐
GeeksforGeeks
geeksforgeeks.org › java › string-handling-with-apache-commons-stringutils-class-in-java
String Handling with Apache Commons' StringUtils Class in Java - GeeksforGeeks
April 28, 2025 - Methods for handling line breaks: The StringUtils class provides methods for handling line breaks in Strings, such as replaceEach() to replace multiple lines breaks with a single line break, and split() to split a String into an array of Strings based on line breaks. Getting Started with Apache Commons for Maven and Gradle involves the following steps: ... <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.12.0</version> </dependency>
Find elsewhere
🌐
Maven Repository
mvnrepository.com › artifact › commons-lang › commons-lang › 2.6
Maven Repository: commons-lang » commons-lang » 2.6
January 16, 2011 - aar android apache api arm assets build build-system bundle client clojure cloud config cran data database eclipse example extension framework github gradle groovy io ios javascript jvm kotlin library logging maven mobile module npm osgi persistence plugin resources rlang sdk server service ...
Published   Jan 16, 2011
Version   2.6
🌐
GitHub
github.com › apache › maven-shared-utils › blob › master › src › main › java › org › apache › maven › shared › utils › StringUtils.java
maven-shared-utils/src/main/java/org/apache/maven/shared/utils/StringUtils.java at master · apache/maven-shared-utils
* @deprecated this method produces platform dependent code and contributes to · * non-reproducible builds. In the context of Maven, this is almost never what's needed. * Remove calls to this method and do not replace them. That is, change · * {@code StringUtils.unifyLineSeparators(s)} to simply {@code s}. */ @Deprecated ·
Author   apache
🌐
Medium
medium.com › @nirbhaysingh281 › fatal-error-compiling-java-lang-noclassdeffounderror-org-apache-commons-lang3-stringutils-4484fa184854
Fatal error compiling: java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils: | by Nirbhay Singh | Medium
September 18, 2024 - The error you’re encountering ... This indicates that the Apache Commons Lang library, which provides the StringUtils class, is either missing or incorrectly referenced in your project's dependencies......
🌐
Baeldung
baeldung.com › home › java › java string › an introduction to apache commons lang 3
An Introduction to Apache Commons Lang 3 | Baeldung
January 8, 2024 - As usual, to get started using Apache Commons Lang 3, we first need to add the Maven dependency: <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.14.0</version> </dependency> The first utility class that we’ll cover in this introductory roundup is StringUtils.
🌐
Jar-Download
jar-download.com › home › commons-lang › commons-lang › 2.4 › source code › stringutils.java
org.apache.commons.lang.StringUtils Maven / Gradle / Ivy
org.apache.commons.lang.StringUtils maven / gradle build tool code. The class is part of the package ➦ Group: commons-lang ➦ Artifact: commons-lang ➦ Version: 2.4
🌐
JavaBeat
javabeat.net › home › how to use stringutils class in java
How to Use StringUtils Class in Java
March 8, 2024 - To Use the StringUtils class in Java, first, add its corresponding Apache Commons dependency in a “pom.xml” file of your maven project. After this, you can import the StringUtils class in your Java application and use any of its methods to manipulate the strings efficiently.
🌐
Apache Maven
maven.apache.org › plugins › maven-dependency-plugin › xref › org › apache › maven › plugins › dependency › utils › StringUtils.html
StringUtils xref - Apache Maven
18 */ 19 package org.apache.maven.plugins.dependency.utils; 20 21 import static java.util.Objects.isNull; 22 23 public final class StringUtils { 24 private StringUtils() {} 25 26 public static boolean isEmpty(String s) { 27 return isNull(s) || s.isEmpty(); 28 } 29 30 public static boolean isNotEmpty(String s) { 31 return !isEmpty(s); 32 } 33 }
🌐
Maven Repository
mvnrepository.com › artifact › org.apache.commons › commons-lang3 › 3.0
Maven Repository: org.apache.commons » commons-lang3 » 3.0
July 19, 2011 - Apache Commons is an Apache project focused on all aspects of reusable Java components. Links · Core Utilities · Classpath Tools · Object Pools · Job Scheduling · Collections · Date and Time Utilities · Maven Plugins · Testing · Android Packages · Language Runtime · JVM Languages · Logging Frameworks · JSON Libraries · Java Specifications · Core Utilities · Mocking · Annotation Libraries · Web Assets · HTTP Clients · Logging Bridges · Dependency Injection ·
Published   Jul 19, 2011
Version   3.0