Thanks for all replies, i solved it by downloading manually the .jar file from the following link and overwrite the existing jar downloaded by maven. (i don't know why it started working after manual download, but after all, its working)

http://commons.apache.org/proper/commons-lang/download_lang.cgi

Answer from Shahzeb Khan on Stack Overflow
🌐
Maven Repository
mvnrepository.com › artifact › org.apache.commons › commons-text
Maven Repository: org.apache.commons » commons-text
December 8, 2025 - The Commons Text library provides additions to the standard JDK text handling. It includes algorithms for string similarity and for calculating the distance between strings · Web site developed by @frodriguez Powered by: Scala, Play, Spark, Pekko and Cassandra Read more
🌐
Jar-Download
jar-download.com › home › org.apache.commons › commons-lang3 › 3.5 › source code › stringescapeutils.java
org.apache.commons.lang3.StringEscapeUtils Maven / Gradle / Ivy
org.apache.commons.lang3.StringEscapeUtils maven / gradle build tool code. The class is part of the package ➦ Group: org.apache.commons ➦ Artifact: commons-lang3 ➦ Version: 3.5
🌐
Maven Repository
mvnrepository.com › artifact › org.apache.commons › commons-lang3
Maven Repository: org.apache.commons » commons-lang3
November 12, 2025 - Apache Commons Lang, a package of Java utility classes for the classes that are in java.lang's hierarchy, or are considered to be so standard as to justify existence in java.lang. The code is tested using the latest revision of the JDK for supported LTS releases: 8, 11, 17, 21 and 25 currently ...
🌐
Jar-Download
jar-download.com › home › commons-lang › commons-lang › 2.3 › source code › stringescapeutils.java
org.apache.commons.lang.StringEscapeUtils Maven / Gradle / Ivy
This constructor is public to permit tools that require a JavaBean * instance to operate. */ public StringEscapeUtils() { super(); } // Java and JavaScript //-------------------------------------------------------------------------- /** *
🌐
Baeldung
baeldung.com › home › java › java string › introduction to apache commons text
Introduction to Apache Commons Text | Baeldung
January 8, 2024 - The org.apache.text.translate package was initially created to allow us to customize the rules provided by StringEscapeUtils.
🌐
Apache Commons
commons.apache.org › proper › commons-lang › apidocs › org › apache › commons › lang3 › StringEscapeUtils.html
StringEscapeUtils (Apache Commons Lang 3.21.0-SNAPSHOT API)
Note that Unicode characters greater than 0x7f are as of 3.0, no longer escaped. If you still wish this functionality, you can achieve it via the following: StringEscapeUtils.ESCAPE_XML.with( NumericEntityEscaper.between(0x7f, Integer.MAX_VALUE));
🌐
Jackrutorial
jackrutorial.com › 2018 › 03 › escape-special-html-characters-in-java-projects-with-maven-tutorial.html
Escape Special HTML characters in Java Projects with Maven Tutorial - Learning to Write code for Beginners with Tutorials
March 18, 2018 - package com.jackrutorial; import org.apache.commons.lang.StringEscapeUtils; public class Main { public static void main(String[] args) { // & (ampersand) becomes & System.out.print("& (ampersand) becomes"); System.out.println(" " + StringEscapeUtils.escapeHtml("&")); // " (double quote) becomes " System.out.print("\" (double quote) becomes"); System.out.println(" " + StringEscapeUtils.escapeHtml("\"")); // < (less than) becomes < System.out.print("< (less than) becomes"); System.out.println(" " + StringEscapeUtils.escapeHtml("<")); // > (greater than) becomes > System.out.print("> (greater than) becomes"); System.out.println(" " + StringEscapeUtils.escapeHtml(">")); } }
Find elsewhere
🌐
Codingwithharish
codingwithharish.com › posts › java-stringescapeutils-guide
Complete StringEscapeutils Guide in Java | Coding with Harish
September 3, 2023 - StringEscapeUtils is a part of the Apache Commons Text library and provides a set of static methods for escaping and unescaping strings. We need to add maven dependency in our project to use StringEscapeUtils apis.
🌐
Apache Commons
commons.apache.org › lang › dependency-info.html
Maven Coordinates – Apache Commons Lang
November 16, 2025 - Copyright © 2001-2026 The Apache Software Foundation. All Rights Reserved
🌐
Apache Commons
commons.apache.org › proper › commons-lang › javadocs › api-release › org › apache › commons › lang3 › StringEscapeUtils.html
StringEscapeUtils (Apache Commons Lang 3.11 API)
Note that Unicode characters greater than 0x7f are as of 3.0, no longer escaped. If you still wish this functionality, you can achieve it via the following: StringEscapeUtils.ESCAPE_XML.with( NumericEntityEscaper.between(0x7f, Integer.MAX_VALUE) );
🌐
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)
March 1, 2021 - Common String manipulation routines · Originally from Turbine, the GenerationJavaCore library and Velocity. Later a lots methods from commons-lang StringUtils got added too. Gradually smaller additions and fixes have been made over the time by various ASF committers
🌐
GitHub
github.com › IQSS › dataverse › issues › 6070
Dependency update: Apache Common Lang v2 -> v3 · Issue #6070 · IQSS/dataverse
August 2, 2019 - This is related to my other dependency housekeeping things. See #5288 and #5360. While programming unit tests for #6000, I wanted to use org.apache.commons.lang3.RandomStringUtils. In Maven POM I s...
Author   poikilotherm
🌐
Apache Maven
maven.apache.org › surefire-archives › maven-surefire-2.14.1 › surefire-api › xref › org › apache › maven › surefire › util › internal › StringUtils.html
StringUtils xref - Apache Maven
199 inUnicode = true; 200 break; 201 } 202 default: 203 out.write( ch ); 204 break; 205 } 206 continue; 207 } 208 else if ( ch == '\\' ) 209 { 210 hadSlash = true; 211 continue; 212 } 213 out.write( ch ); 214 } 215 if ( hadSlash ) 216 { 217 // then we're in the weird case of a \ at the end of the 218 // string, let's output it anyway. 219 out.write( '\\' ); 220 } 221 } 222 223 // Ripped from commons-lang StringEscapeUtils.