2013-4-7 10:13:56 org.apache.catalina.startup.HostConfig checkResources
Message: Reloading context [/chapter05-1]
2013-4-7 10:13:56 org.apache.catalina.core.StandardContext stop
Message: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/chapter05-1] has not been started
2013-4-7 10:13:56 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
Message: Parsing configuration file [struts-default.xml]
2013-4-7 10:13:56 org.apache.catalina.core.StandardContext filterStart
Waning: Exception starting filter struts2
java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:209)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:210)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:437)
at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:51)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:115)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4072)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4726)
at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1284)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1382)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:306)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1389)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1653)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1662)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1642)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang3.StringUtils
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
… 22 more
2013-4-7 10:13:56 org.apache.catalina.core.StandardContext start
Waning: Error filterStart
2013-4-7 10:13:56 org.apache.catalina.core.StandardContext start
Waning: Context [/chapter05-1] startup failed due to previous errors
Solution:
Add commons-lang3-3.1.jar
Similar Posts:
- [How to Solve] Exception starting filter struts2
- [Solved] Warning: Servlet threw load() exception java.lang.ClassNotFoundException: org.glassfish.jersey.servlet…
- [Solved] org.apache.catalina.startup.HostConfig.deployWAR Error deploying web application archive
- [Solved] Error configuring application listener of class [org.springframework.web.util.Log4jConfigListener]
- activiti MySQLIntegrityConstraintViolationException: Cannot delete or update a parent row
- [Solved] Tomcat Error: SEVERE: Error listenerStart
- Error filterStart error resolution
- [Solved] Caused by: org.apache.catalina.LifecycleException: A child container failed during start
- [Solved] Project Start Error: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
- [Solved] org.apache.catalina.LifecycleException: Failed to start component