Try running the following commands and examine the output:
$ mvn dependency:tree
$ mvn help:effective-pom
Look for commons-lang, maybe something will draw your attention like excludes or dependency overrides. Also, is:
$ mvn dependency:copy-dependencies
copying commons-lang JAR to your target?
Adding following dependency to pom.xml in dependencies tag helped me:
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.1</version>
</dependency>
Well, the text method states
This code has been adapted from Apache Commons Lang 3.5.
Looks like they simply plan on moving the method from one library to the other. You'd have to get the authors of that code to explain why.
However, worth pointing out that lang3 is a compile dependency of text, therefore if you included text, you would have lang3 anyway
https://github.com/apache/commons-text/blob/master/pom.xml#L61-L65
Text utils in commons-lang3 are marked with deprecation and the Javadoc points to commons-text