java.lang.NoClassDefFoundError: org/apache/commons/lang3/text/StrLookup


Samebug tips

A few things cause this exception:
1) Check if you have all jars and if they're in the correct path.
2) Your classpath might be broken, you can define it in the command line with java -cp yourClassPath or at your IDE if you're using one.


9 months ago
Expert tip

If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add to your dependencies. To add it, the groupId is com.fasterxml and artifactId is Classmate.


7 months ago
Expert tip

Solutions on the web

Solution icon of apache
via gump-general by gump@vmgump.apache.org, 1 year ago
org/apache/commons/lang3/text/StrLookup

Solution icon of apache
via gump-general by gump@vmgump.apache.org, 1 year ago
org/apache/commons/lang3/text/StrLookup

Solution icon of apache
via gump-general by gump@vmgump.apache.org, 1 year ago
org/apache/commons/lang3/text/StrLookup

Solution icon of apache
via gump-general by gump@vmgump.apache.org, 1 year ago
org/apache/commons/lang3/text/StrLookup

Solution icon of apache
via gump-general by gump@vmgump.apache.org, 1 year ago
org/apache/commons/lang3/text/StrLookup

Solution icon of apache
via gump-general by gump@vmgump.apache.org, 1 year ago
org/apache/commons/lang3/text/StrLookup

Solution icon of apache
via gump-general by gump@vmgump.apache.org, 1 year ago
org/apache/commons/lang3/text/StrLookup

Solution icon of apache
via gump-general by gump@vmgump.apache.org, 1 year ago
org/apache/commons/lang3/text/StrLookup

Solution icon of apache
via gump-general by gump@vmgump.apache.org, 1 year ago
org/apache/commons/lang3/text/StrLookup

Solution icon of apache
via gump-general by gump@vmgump.apache.org, 1 year ago
org/apache/commons/lang3/text/StrLookup

Stack trace

java.lang.NoClassDefFoundError: org/apache/commons/lang3/text/StrLookup
	at org.apache.commons.configuration.interpol.SystemPropertiesLookup.<init>(SystemPropertiesLookup.java:48)
	at org.apache.commons.configuration.interpol.DefaultLookups.<clinit>(DefaultLookups.java:41)
	at org.apache.commons.configuration.AbstractConfiguration.installDefaultInterpolator(AbstractConfiguration.java:436)
	at org.apache.commons.configuration.AbstractConfiguration.<init>(AbstractConfiguration.java:161)
	at org.apache.commons.configuration.BaseConfiguration.<init>(BaseConfiguration.java:50)
	at org.apache.commons.configuration.AbstractFileConfiguration.<init>(AbstractFileConfiguration.java:135)
	at org.apache.commons.configuration.AbstractFileConfiguration.<init>(AbstractFileConfiguration.java:170)
	at org.apache.commons.configuration.PropertiesConfiguration.<init>(PropertiesConfiguration.java:269)
	at org.apache.cocoon.maven.rcl.RwmProperties.<init>(RwmProperties.java:43)
	at org.apache.cocoon.maven.rcl.PrepareWebappMojo.readProperties(PrepareWebappMojo.java:540)
	at org.apache.cocoon.maven.rcl.PrepareWebappMojo.execute(PrepareWebappMojo.java:286)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang3.text.StrLookup
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
	at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
	at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
	at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
	at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
	... 30 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
2413 more bugmates