ssh整合的时候,报错的看不懂,整了一天了,哪位大神帮我看一下好吧?

何忆 发布于 2015/10/14 15:12
阅读 479
收藏 0

下面贴出报错的信息,请大神帮我看看:

严重: ContainerBase.addChild: start: 
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/consumer]]
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:649)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1245)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1895)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:142)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5481)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 10 more
十月 14, 2015 3:09:30 下午 org.apache.catalina.startup.HostConfig deployDirectory
严重: Error deploying web application directory D:\MyCours\tomcat7.0\webapps\consumer
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/consumer]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1245)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1895)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

加载中
0
noday
noday
你这日志看不出来啥,只能看出来是配置有问题 看一下SpringServletContainerInitializer.java:142为什么这里有空指针
0
whatwhowhy
whatwhowhy
Unknown Source
0
whatwhowhy
whatwhowhy
数据库实体类有问题
0
maradona
maradona
先跑SPRING,然后再加上另外一个,慢慢排查
0
xmzpkdwz110
xmzpkdwz110
如果是spring3.1的项目,发布在tomcat7下面会出现类似的bug,可以先发布到tomcat下面测试是不是版本冲突的原因
0
南湖船老大
南湖船老大
看起来应该是applicationContext-core.xml 配置的问题,逐个排查吧
0
一名安静得程序员
一名安静得程序员
仔细检查配置文件!!!!
何忆
何忆
谢谢各位大神,我已经解决了,非常感谢各位的帮忙
返回顶部
顶部