关闭

SSH2三大框架整合出错(三)

标签: Struts2SpringHibernatessh2框架
1338人阅读 评论(0) 收藏 举报
分类:
usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ]  { -help | start | stop }
2013-12-1 22:48:33 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.6.
2013-12-1 22:48:33 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2013-12-1 22:48:34 org.apache.catalina.core.AprLifecycleListener initializeSSL
信息: OpenSSL successfully initialized (OpenSSL 1.0.1d 5 Feb 2013)
2013-12-1 22:48:34 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-apr-8080"]
2013-12-1 22:48:34 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-apr-8009"]
2013-12-1 22:48:34 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1223 ms
2013-12-1 22:48:34 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
2013-12-1 22:48:34 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.41
2013-12-1 22:48:36 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://www.springframework.org/tags/form is already defined
2013-12-1 22:48:36 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://www.springframework.org/tags is already defined
2013-12-1 22:48:36 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
2013-12-1 22:48:37 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter struts2
java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils
	at 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:226)
	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)
	at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:446)
	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:490)
	at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:193)
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:107)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4746)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5399)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
	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.StringUtils
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
	... 20 more
2013-12-1 22:48:37 org.apache.catalina.core.StandardContext startInternal
严重: Error filterStart
2013-12-1 22:48:37 org.apache.catalina.core.StandardContext startInternal
严重: Context [/SSH2] startup failed due to previous errors
2013-12-1 22:48:37 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
2013-12-1 22:48:37 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.41\webapps\docs
2013-12-1 22:48:37 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.41\webapps\examples
2013-12-1 22:48:38 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2013-12-1 22:48:38 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2013-12-1 22:48:38 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@2726b2')
2013-12-1 22:48:38 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.41\webapps\host-manager
2013-12-1 22:48:38 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.41\webapps\manager
2013-12-1 22:48:38 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\MyEclipse\apache-tomcat-7.0.41\webapps\ROOT
2013-12-1 22:48:38 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-apr-8080"]
2013-12-1 22:48:38 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-apr-8009"]
2013-12-1 22:48:38 org.apache.catalina.startup.Catalina start
信息: Server startup in 3505 ms


错误原因:缺少commons-lang3-3.1.jar


2
0
查看评论

SSH2三大框架整合出错(一)

usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2013-12-1 22:01:15 org.apache.catalina...
  • you23hai45
  • you23hai45
  • 2013-12-01 22:08
  • 1389

SSH2三大框架整合出错(六)

usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2013-12-6 23:33:49 org.apache.catalina...
  • you23hai45
  • you23hai45
  • 2013-12-06 23:35
  • 1229

SSH2三大框架整合出错(五)

usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2013-12-6 23:13:21 org.apache.catalina...
  • you23hai45
  • you23hai45
  • 2013-12-06 23:13
  • 1369

SSH2三大框架整合出错(二)

usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2013-12-1 22:29:26 org.apache.catalina...
  • you23hai45
  • you23hai45
  • 2013-12-01 22:31
  • 1265

SSH2三大框架整合出错(四)

usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2013-12-2 22:28:18 org.apache.catalina...
  • you23hai45
  • you23hai45
  • 2013-12-02 22:32
  • 1746

三大框架整合详解

详细介绍了三大框架整合的流程以及需要的jar和原理,便于学习和理解!
  • u012815721
  • u012815721
  • 2014-10-21 10:54
  • 1652

SSH三大框架注解整合

SSH三大框架注解整合 5.使用spring注解注入service,DAO  action: @ParentPackage(value = "struts-default") @Namespace("/") @Contr...
  • feiying2j
  • feiying2j
  • 2016-01-14 22:46
  • 313

SSH2三大框架整合警告

*********************************************************************** * WARNING!!! * *
  • you23hai45
  • you23hai45
  • 2013-12-02 23:00
  • 1879

SSH2三大框架整合

关于ssh三大框架整合 1:顺序:hibernate -->spring --> struts2 2: hibernate           ❶下面这个就不要了       &#...
  • jinjianghai
  • jinjianghai
  • 2014-07-05 17:34
  • 393

SSH整合步骤,三大框架的整合步骤

SSH整合步骤: 1、添加spring框架 2、添加hibernate框架 3、添加struts框架 4、添加4个包分别是: com.scme.ssh.action com.scme.ssh.biz com.scme.ssh.dao com.scme.ssh.persist 5、通...
  • u014649598
  • u014649598
  • 2014-05-30 14:40
  • 4446
    个人资料
    • 访问:5582795次
    • 积分:72966
    • 等级:
    • 排名:第28名
    • 原创:1925篇
    • 转载:76篇
    • 译文:3篇
    • 评论:1193条
    百度技术栏目
    网易博客
    新浪博客
    博客专栏
    Linux

    文章:47篇

    阅读:66316
    dojo

    文章:10篇

    阅读:30480
    Flex

    文章:13篇

    阅读:29337
    FusionCharts

    文章:14篇

    阅读:71456
    文章分类
    最新评论