在MyEclipse中启动Tomcat,该Tomcat仅部署了一个报错项目,启动Tomcat Server的全部信息如下:

usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ]  { -help | start | stop }
十一月 28, 2017 8:33:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version: Apache Tomcat/7.0.68
十一月 28, 2017 8:33:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built: Feb 8 2016 20:25:54 UTC
十一月 28, 2017 8:33:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number: 7.0.68.0
十一月 28, 2017 8:33:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name: Windows 7
十一月 28, 2017 8:33:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version: 6.1
十一月 28, 2017 8:33:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture: amd64
十一月 28, 2017 8:33:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home: D:\MyDev\Java\jdk1.7.0_79\jre
十一月 28, 2017 8:33:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version: 1.7.0_79-b15
十一月 28, 2017 8:33:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor: Oracle Corporation
十一月 28, 2017 8:33:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE: D:\MyDev\Tomcat\apache-tomcat-7.0.68
十一月 28, 2017 8:33:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME: D:\MyDev\Tomcat\apache-tomcat-7.0.68
十一月 28, 2017 8:33:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=D:\MyDev\Tomcat\apache-tomcat-7.0.68
十一月 28, 2017 8:33:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=D:\MyDev\Tomcat\apache-tomcat-7.0.68
十一月 28, 2017 8:33:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=D:\MyDev\Tomcat\apache-tomcat-7.0.68/common/endorsed
十一月 28, 2017 8:33:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.io.tmpdir=D:\MyDev\Tomcat\apache-tomcat-7.0.68\temp
十一月 28, 2017 8:33:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.library.path=D:\MyDev\Java\jdk1.7.0_79\bin;D:\MyDev\Tomcat\apache-tomcat-7.0.68\bin
十一月 28, 2017 8:33:25 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dsun.io.useCanonCaches=false
十一月 28, 2017 8:33:25 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: Loaded APR based Apache Tomcat Native library 1.1.33 using APR version 1.5.1.
十一月 28, 2017 8:33:25 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
十一月 28, 2017 8:33:26 下午 org.apache.catalina.core.AprLifecycleListener initializeSSL
信息: OpenSSL successfully initialized (OpenSSL 1.0.1m 19 Mar 2015)
十一月 28, 2017 8:33:26 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-apr-8080"]
十一月 28, 2017 8:33:27 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-apr-8009"]
十一月 28, 2017 8:33:27 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 2486 ms
十一月 28, 2017 8:33:27 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
十一月 28, 2017 8:33:27 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.68
十一月 28, 2017 8:33:27 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\MyDev\Tomcat\apache-tomcat-7.0.68\webapps\docs
十一月 28, 2017 8:33:28 下午 org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
信息: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [402] milliseconds.
十一月 28, 2017 8:33:28 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\MyDev\Tomcat\apache-tomcat-7.0.68\webapps\docs has finished in 1,223 ms
十一月 28, 2017 8:33:28 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\MyDev\Tomcat\apache-tomcat-7.0.68\webapps\examples
十一月 28, 2017 8:33:29 下午 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
十一月 28, 2017 8:33:29 下午 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
十一月 28, 2017 8:33:29 下午 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@14bc5c96')
十一月 28, 2017 8:33:29 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\MyDev\Tomcat\apache-tomcat-7.0.68\webapps\examples has finished in 867 ms
十一月 28, 2017 8:33:29 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\MyDev\Tomcat\apache-tomcat-7.0.68\webapps\hessian_server
十一月 28, 2017 8:33:30 下午 org.apache.catalina.core.ContainerBase addChildInternal
严重: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/hessian_server]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1259)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1998)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: Servlet mapping specifies an unknown servlet name hessian
at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:3375)
at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:3354)
at org.apache.catalina.deploy.WebXml.configureContext(WebXml.java:1438)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1357)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:889)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:386)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5472)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
... 10 more
十一月 28, 2017 8:33:30 下午 org.apache.catalina.startup.HostConfig deployDirectory
严重: Error deploying web application directory D:\MyDev\Tomcat\apache-tomcat-7.0.68\webapps\hessian_server
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/hessian_server]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:903)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1259)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1998)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
十一月 28, 2017 8:33:30 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\MyDev\Tomcat\apache-tomcat-7.0.68\webapps\hessian_server has finished in 861 ms
十一月 28, 2017 8:33:30 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\MyDev\Tomcat\apache-tomcat-7.0.68\webapps\host-manager
十一月 28, 2017 8:33:30 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\MyDev\Tomcat\apache-tomcat-7.0.68\webapps\host-manager has finished in 131 ms
十一月 28, 2017 8:33:30 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\MyDev\Tomcat\apache-tomcat-7.0.68\webapps\manager
十一月 28, 2017 8:33:30 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\MyDev\Tomcat\apache-tomcat-7.0.68\webapps\manager has finished in 139 ms
十一月 28, 2017 8:33:30 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:\MyDev\Tomcat\apache-tomcat-7.0.68\webapps\ROOT
十一月 28, 2017 8:33:30 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:\MyDev\Tomcat\apache-tomcat-7.0.68\webapps\ROOT has finished in 109 ms
十一月 28, 2017 8:33:30 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-apr-8080"]
十一月 28, 2017 8:33:30 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-apr-8009"]
十一月 28, 2017 8:33:30 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 3463 ms

其中,项目hessian_server发生报错异常:

  严重: ContainerBase.addChild: start:
  org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/hessian_server]]

关键是第二条异常信息,如报错信息中加粗所示:

  Caused by: java.lang.IllegalArgumentException: Servlet mapping specifies an unknown servlet name hessian

说明找不到名称为hessian的servlet,因此是web.xml的配置出错,详见下图所示:

至此,问题解决,重点看异常源头信息详情

Tomcat启动报错:[Failed to start component]的解决方案的更多相关文章

  1. 记一次Tomcat启动报错Failed to start component [StandardEngine[Catalina].Standard

    今天启动项目的时候,发现tomcat一直报错,之前都一直没有问题的啊,提示       org.apache.catalina.LifecycleException: Failed to start ...

  2. Tomcat启动报错 Failed to start component [StandardServer[8005]]解决

    SEVERE: The required Server component failed to start so Tomcat is unable to start. org.apache.catal ...

  3. tomcat启动报错failed to start component

    严重: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catali ...

  4. tomcat运行报错Failed to start component [StandardEngine[Catalina].StandardHost[localhost].

    tomcat运行报错Failed to start component [StandardEngine[Catalina].StandardHost[localhost].多半情况是找不到jar包 解 ...

  5. (转)Eclipse4.2 Tomcat启动报错 A child container failed during start

     Eclipse4.2 Tomcat启动报错 A child container failed during start 2013-5-21 15:02:24 org.apache.catalina. ...

  6. tomcat启动报错:Injection of autowired dependencies failed

    tomcat启动报错:Injectjion of autowired dependencies failed 环境: 操作系统:centos6.5 tomcat: 7.0.52 jdk:openjdk ...

  7. maven项目使用tomcat启动报错:Server Tomcat v8.5 Server at localhost failed to start

    背景说明:1)该项目为maven项目,使用的maven的本地仓库里有不少之前使用过下载的jar包: 2)从svn下载该项目后,无报错情况: 3)部署到tomcat启动报错 如下 : 4)在网上搜索了很 ...

  8. tomcat启动报错

    [toc]启动错误 does not exist or is not a readable directory 问题:tomcat启动报错:does not exist or is not a rea ...

  9. tomcat启动报错,找不到相应的 queue,从而引发内存泄漏

    tomcat启动报错,无法创建 bean listenerStatusChangeDealHandler, no queue 'STOCK.NOTIFY_CHANGE.INTER.CACHE.QUEU ...

  10. tomcat启动报错There is insufficient memory for the Java Runtime Environment to continue

    tomcat启动报错后显示以下错误 ## There is insufficient memory for the Java Runtime Environment to continue.# Nat ...

随机推荐

  1. tortoiseSVN版本合并(merge)

    原文地址:http://blog.163.com/qq371557620@yeah/blog/static/8428365820172110320574/ 编码过程中,我们经常会遇到需要多个分支并行开 ...

  2. python按修改时间顺序排列文件

    import os def sort_file_by_time(file_path): files = os.listdir(file_path) if not files: return else: ...

  3. Ubuntu Server16.04 配置网卡

    展示全部启动网卡 $ ifconfig 配置网卡 $ sudo vi /etc/network/interfaces auto enp2s0 iface enp2s0 inet static addr ...

  4. Hadoop生态集群之HDFS

    一.HDFS是什么 HDFS是hadoop集群中的一个分布式的我文件存储系统.他将多台集群组建成一个集群,进行海量数据的存储.为超大数据集的应用处理带来了很多便利. 和其他的分布式文件存储系统相比他有 ...

  5. wue父子通信和动态路由 还有点击事件直接赋值传参数

    这种直接在后面赋值 传值

  6. jenkins 设置钉钉通知--钉钉机器人

    https://blog.csdn.net/workdsz/article/details/77531802

  7. print()与println()区别

    print 不会换行,println会换行 例如:print(a):print(b):结果为: abprintln(a):println(b):结果为: a b

  8. js抽红包分配

    将 50000元随机分给10个人,其中3个人必须分到百位数,4个人分到千位数,3个人分到万位数,每个人所得金额 <!DOCTYPE html> <html lang="zh ...

  9. 常用的Lunix命令 记录

    使用normal模式下的  v命令,进入visual模式,v+ j/k/h/l   进行文本选中 对于选中的文本进行如下按键: (1.1)d   ------ 剪切操作 (1.2)y   ------ ...

  10. 【转360】KB4041678 Windows 仅安全更新(2017.10) 补丁更新后执行SQL出错! http://bbs.360.cn/thread-15201531-1-1.html

    把EXCEL20003表数据导入到MDB数据库中sql命令语句\"SELECT * INTO 表 FROM [Excel 8.0;DATABASE=C:\\1.xls].[Sheet1$]\ ...