java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips


This is thrown when the JVM tries to load a particular class and the specified class cannot be found in the classpath. Make sure Apache commons-lang library jar is added to your project's build path and you are using commons-lang3-3.0.jar or greater.


Make sure to add org.springframework.core-3.1.0.M2.jar to your project libraries so that org.springframework.core.env.EnvironmentCapable will be loaded.

Solutions on the web

via by Unknown author, 1 year ago
via by Unknown author, 11 months ago
via Stack Overflow by bali208
, 2 years ago
via by Unknown author, 2 years ago
via by Unknown author, 1 year ago
java.lang.ClassNotFoundException: org.apache.commons.lang3.StringUtils
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(
at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(
at org.apache.struts2.dispatcher.Dispatcher.getContainer(
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(
at org.apache.struts2.dispatcher.Dispatcher.init(
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(
at org.apache.catalina.core.ApplicationFilterConfig.(
at org.apache.catalina.core.StandardContext.filterStart(
at org.apache.catalina.core.StandardContext.startInternal(
at org.apache.catalina.util.LifecycleBase.start(
at org.apache.catalina.core.ContainerBase$
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$

Users with the same issue

2 times, 6 days ago
4 times, 1 week ago
Once, 1 week ago
14 times, 2 weeks ago
2 times, 2 weeks ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.