caused by:java.lang.ClassNotFoundException:org.apache.commons.lang3.StringUtils

Source: Internet
Author: User

1. Description of false narrative

2014-7-10 23:12:23 org.apache.catalina.core.StandardContext filterstart severity: Exception starting Filter Struts2java.lang.noclassdeffounderror:org/apache/commons/lang3/stringutilsat Com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register (xmlconfigurationprovider.java:211) At Org.apache.struts2.config.StrutsXmlConfigurationProvider.register (strutsxmlconfigurationprovider.java:102) at Com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer (defaultconfiguration.java:234) at Com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration (configurationmanager.java:67) at Org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration (dispatcher.java:445) at Org.apache.struts2.dispatcher.Dispatcher.init (dispatcher.java:489) at Org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher (initoperations.java:74) at Org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init (Strutsprepareandexecutefilter.java : +) at ORG.APACHE.CATALINA.CORE.APPLIcationfilterconfig.initfilter (applicationfilterconfig.java:279) at Org.apache.catalina.core.ApplicationFilterConfig.getFilter (applicationfilterconfig.java:260) at Org.apache.catalina.core.applicationfilterconfig.<init> (applicationfilterconfig.java:105) at Org.apache.catalina.core.StandardContext.filterStart (standardcontext.java:4809) at Org.apache.catalina.core.StandardContext.startInternal (standardcontext.java:5485) at Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:150) at Org.apache.catalina.core.ContainerBase.addChildInternal (containerbase.java:901) at Org.apache.catalina.core.ContainerBase.addChild (containerbase.java:877) at Org.apache.catalina.core.StandardHost.addChild (standardhost.java:632) at Org.apache.catalina.startup.HostConfig.deployDirectory (hostconfig.java:1229) at Org.apache.catalina.startup.hostconfig$deploydirectory.run (hostconfig.java:1875) at Java.util.concurrent.executors$runnableadapter.call (executors.java:441) at java.util.concurrent.futuretask$ Sync.inNerrun (futuretask.java:303) at Java.util.concurrent.FutureTask.run (futuretask.java:138) at Java.util.concurrent.threadpoolexecutor$worker.runtask (threadpoolexecutor.java:886) at Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:908) at Java.lang.Thread.run ( thread.java:619) caused By:java.lang.ClassNotFoundException:org.apache.commons.lang3.StringUtilsat Org.apache.catalina.loader.WebappClassLoader.loadClass (webappclassloader.java:1720) at Org.apache.catalina.loader.WebappClassLoader.loadClass (webappclassloader.java:1571) at Java.lang.ClassLoader.loadClassInternal (classloader.java:320) ... more2014-7-10 23:12:23 org.apache.catalina.core.StandardContext startinternal severity: Error filterstart2014-7-10 23:12:23 org.apache.catalina.core.StandardContext startinternal Serious: Context [/firstssh] startup failed due to previous ERRORS2014-7-10 23:12:23 Org.apache.catalina.loader.WebappClassLoader checkthreadlocalmapforleaks serious: the web Application [/firstssh] created a ThreadLocal with key of type [com.sun.faces.util.util$1] (value [[email protected]]) and a value of type [Java.util.HashMap] (Valu e [{com.sun.faces.patterncache={=}}] Failed to remove it when the Web application is stopped. Threads is going to being renewed over time to try and avoid a probable memory leak.2014-7-10 23:12:23 ORG.APACHE.CATALINA.S Tartup. Hostconfig deploydirectory

2. Cause of error

Through this "caused By:java.lang.ClassNotFoundException:org.apache.commons.lang3.StringUtils", This is a missing commons-lang3-3.1.jar bag.


3, the solution of the method

Copy "Commons-lang3-3.1.jar" to the folder Lib folder

Copyright notice: This article Bo Master original articles, blogs, without consent may not be reproduced.

caused by:java.lang.ClassNotFoundException:org.apache.commons.lang3.StringUtils

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.