转载,原文地址  http://hw1287789687.iteye.com/blog/1817865

org.apache.catalina.core.ContainerBase addChildInternal
严重: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
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:633)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673)
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.NullPointerException
at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:142)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5274)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 11 more

仔细看异常抛出过程就会发现,一定是与Spring有关系,当前我使用的Spring版本为3.1.0.M2,又是一顿折腾,半天又过去了,最后解决问题的还是google,看来以后有问题还是直接google的好,不要指望其它了,不过或许我写了这个记录后,可以有其它选择了。

原来这是spring的一个BUG吧,可去https://jira.springsource.org/browse/SPR-8496查看一下,当前需要做的就是更新Spring到新的版本应该就可以了,于是到官网下载Spring3.2.0.RELEASE版本,等待。。。(下载中)
下载后,包结构有一点点变化,对比后更新相应的jar包,再次启动tomcat7,一切正常!!!

  1. 使用spring3.2以上版本,不需要添加spring-asm.jar
  2. 去spring官网看更新日志,发现确实移除了,将asm整合到core里面了
    inlined ASM into spring-core, removed spring-asm subproject and jar

最新文章

  1. maven依赖查询地址
  2. git与github使用
  3. varsh4.1 安装清除cache
  4. 导入CSV格式的数据
  5. NBU官方Doc網址https://www.veritas.com/support/en_US/article.DOC5332
  6. MS sql server 基础知识回顾(二)-表连接和子查询
  7. Oracle ->> Oracle下查看实际执行计划的方法
  8. C语言中char* 和 char []区别
  9. javascript 通过IE ActiveX 获得本机内网ip
  10. HTML5之填写个人信息
  11. HDOJ(HDU) 2083 简易版之最短距离(中位数)
  12. python 常见错误和异常 函数 正则表达式及多线程编程
  13. IOS Dev 需要常看的网站<转>
  14. Centos7.3 编译安装GDAL以及Python的GDAL包
  15. install postgresql 10 on redhat linux 7 Redhat 安装 postgresql 10
  16. 我的代码-models
  17. 步步为营-62-Excel的导入和导出
  18. java上传文件代码
  19. git error: failed to push some refs to...
  20. crm作业知识点集合[三]

热门文章

  1. Leetcode:206. Reverse Linked List
  2. 20.Ecshop 2.x/3.x SQL注入/任意代码执行漏洞
  3. Extjs知识点汇总
  4. 将一个mapList转换为beanList
  5. The instance of entity type 'xxxx' cannot be tracked because another instance with the same key value for {'Id'} is already being tracked.
  6. Python中的矩阵、多维数组:Numpy
  7. pyMongo 一些基本操作
  8. print和sys.stdout
  9. flask数据操纵
  10. 厉害了,Dubbo 正式毕业!