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

  1. ,

    If JVM throws ClassNotFoundException the class is not found in classpath. It means that something is not configured correctly. So check the relevant class is in the classpath. If the class is packaged into a jar, the jar should also in the classpath.

  2. ,

    If JVM throws ClassNotFoundException the class is not found in classpath. It means that something isn't configured correctly. So check whether the class is in the classpath. If this class is packaged to a jar file. Then the jar must also be in the lib path

Solutions on the web

via Stack Overflow by astack
, 2 years ago
via by Unknown author, 2 years ago
java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register( at org.apache.struts2.config.StrutsXmlConfigurationProvider.register( at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer( at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration( at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration( at org.apache.struts2.dispatcher.Dispatcher.init( at at at org.apache.catalina.core.ApplicationFilterConfig.initFilter( at org.apache.catalina.core.ApplicationFilterConfig.getFilter( at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef( at org.apache.catalina.core.ApplicationFilterConfig.<init>( 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 org.apache.catalina.core.ContainerBase$ at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$ Source) at Source)Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang3.StringUtils at org.apache.catalina.loader.WebappClassLoader.loadClass( at org.apache.catalina.loader.WebappClassLoader.loadClass( ... 22 more