严重: Error listenerStart 严重: Context [/testWSH] startup failed due to previous errors错误的原因和解决办法

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/YONGHUMING6342/article/details/19163069

  org.apache.catalina.core.StandardContext start
严重: Error listenerStart
  org.apache.catalina.core.StandardContext start
严重: Context [/testWSH] startup failed due to previous errors

以前用myeclipse时没碰到过这种情况,今天突然出现这种情况,有些莫名其妙,于是我想起在myeclipse中配置tomcat的时候选择的版本号与

安装在本机上的tomcat的版本号不相符于是我又将已经配好的tomcat删除了,又配置了一遍,重新发布项目居然解决了,因此我就记录下这种情况

也许对同行们也有帮助。也许这只是其中的一种情况,

出现这种情况的原因是 在myeclipse中配置tomcat服务器的时候,在myeclipse中选择的版本号和你在电脑上装的版本号不相符造成的

展开阅读全文

严重: Error filterStart+严重: Context startup failed due to previous errors

12-22

2011-12-22 17:55:31 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8088rn2011-12-22 17:55:31 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 828 msrn2011-12-22 17:55:32 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2011-12-22 17:55:32 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/5.0.30rn2011-12-22 17:55:32 org.apache.catalina.core.StandardHost startrn信息: XML validation disabledrn2011-12-22 17:55:32 org.apache.catalina.core.StandardHost getDeployerrn信息: Create Host deployer for direct deployment ( non-jmx ) rn2011-12-22 17:55:32 org.apache.catalina.core.StandardHostDeployer installrn信息: Processing Context configuration file URL file:E:\programfile\tomcat-5.0\conf\Catalina\localhost\admin.xmlrn2011-12-22 17:55:33 org.apache.catalina.core.StandardHostDeployer installrn信息: Processing Context configuration file URL file:E:\programfile\tomcat-5.0\conf\Catalina\localhost\balancer.xmlrn2011-12-22 17:55:33 org.apache.catalina.core.StandardHostDeployer installrn信息: Processing Context configuration file URL file:E:\programfile\tomcat-5.0\conf\Catalina\localhost\manager.xmlrn2011-12-22 17:55:33 org.apache.catalina.core.StandardHostDeployer installrn信息: Installing web application at context path /chinaunicomreport from URL file:E:\programfile\tomcat-5.0\webapps\chinaunicomreportrn- ********** special char: rn2011-12-22 17:55:34 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2011-12-22 17:55:34 org.apache.catalina.core.StandardContext startrn严重: Context startup failed due to previous errorsrn2011-12-22 17:55:34 org.apache.catalina.core.StandardHostDeployer installrn信息: Installing web application at context path /jsp-examples from URL file:E:\programfile\tomcat-5.0\webapps\jsp-examplesrn2011-12-22 17:55:34 org.apache.catalina.core.StandardHostDeployer installrn信息: Installing web application at context path from URL file:E:\programfile\tomcat-5.0\webapps\ROOTrn2011-12-22 17:55:34 org.apache.catalina.core.StandardHostDeployer installrn信息: Installing web application at context path /servlets-examples from URL file:E:\programfile\tomcat-5.0\webapps\servlets-examplesrn2011-12-22 17:55:34 org.apache.catalina.core.StandardHostDeployer installrn信息: Installing web application at context path /tomcat-docs from URL file:E:\programfile\tomcat-5.0\webapps\tomcat-docsrn2011-12-22 17:55:34 org.apache.catalina.core.StandardHostDeployer installrn信息: Installing web application at context path /webdav from URL file:E:\programfile\tomcat-5.0\webapps\webdavrn2011-12-22 17:55:34 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8088rn2011-12-22 17:55:34 org.apache.jk.common.ChannelSocket initrn信息: JK2: ajp13 listening on /0.0.0.0:8009rn2011-12-22 17:55:34 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/31 config=E:\programfile\tomcat-5.0\conf\jk2.propertiesrn2011-12-22 17:55:34 org.apache.catalina.startup.Catalina startrn信息: Server startup in 2734 msrnrn这是提示信息,请哪位告诉一下解决方法,谢谢rn 论坛

Tomcat启动报错,Error listenerStart Context startup failed due to previous errors

11-06

Tomcat启动报错rnrnrn启动日志:rnrn2009-11-6 21:39:13 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2009-11-6 21:39:13 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 578 msrn2009-11-6 21:39:13 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2009-11-6 21:39:13 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/5.0.30rn2009-11-6 21:39:13 org.apache.catalina.core.StandardHost startrn信息: XML validation disabledrn2009-11-6 21:39:13 org.apache.catalina.core.StandardHost getDeployerrn信息: Create Host deployer for direct deployment ( non-jmx ) rn2009-11-6 21:39:13 org.apache.catalina.core.StandardHostDeployer installrn信息: Processing Context configuration file URL file:D:\server\Tomcat 5.0\conf\Catalina\localhost\admin.xmlrn2009-11-6 21:39:14 org.apache.catalina.core.StandardHostDeployer installrn信息: Processing Context configuration file URL file:D:\server\Tomcat 5.0\conf\Catalina\localhost\balancer.xmlrn2009-11-6 21:39:14 org.apache.catalina.core.StandardHostDeployer installrn信息: Processing Context configuration file URL file:D:\server\Tomcat 5.0\conf\Catalina\localhost\manager.xmlrn2009-11-6 21:39:15 org.apache.catalina.core.StandardHostDeployer installrn信息: Installing web application at context path /jsp-examples from URL file:D:\server\Tomcat 5.0\webapps\jsp-examplesrn2009-11-6 21:39:15 org.apache.catalina.core.StandardHostDeployer installrn信息: Installing web application at context path /servlets-examples from URL file:D:\server\Tomcat 5.0\webapps\servlets-examplesrn2009-11-6 21:39:15 org.apache.catalina.core.StandardHostDeployer installrn信息: Installing web application at context path /sshtest from URL file:D:\server\Tomcat 5.0\webapps\sshtestrnlog4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester).rnlog4j:WARN Please initialize the log4j system properly.rn2009-11-6 21:39:17 org.apache.catalina.core.StandardContext startrn[color=#FF0000]严重: Error listenerStart[/color]rn2009-11-6 21:39:17 org.apache.catalina.core.StandardContext startrn[color=#FF0000]严重: Context startup failed due to previous errors[/color]2009-11-6 21:39:17 org.apache.catalina.core.StandardHostDeployer installrn信息: Installing web application at context path /tomcat-docs from URL file:D:\server\Tomcat 5.0\webapps\tomcat-docsrn2009-11-6 21:39:17 org.apache.catalina.core.StandardHostDeployer installrn信息: Installing web application at context path /webdav from URL file:D:\server\Tomcat 5.0\webapps\webdavrn2009-11-6 21:39:17 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2009-11-6 21:39:17 org.apache.jk.common.ChannelSocket initrn信息: JK2: ajp13 listening on /0.0.0.0:8009rn2009-11-6 21:39:17 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/63 config=D:\server\Tomcat 5.0\conf\jk2.propertiesrn2009-11-6 21:39:17 org.apache.catalina.startup.Catalina startrn信息: Server startup in 3657 msrnrnrnlogs下的详细日志 就是找不到customerServicernrn2009-11-06 21:41:26 StandardContext[/sshtest]Initializing Spring root WebApplicationContextrn2009-11-06 21:41:27 StandardContext[/sshtest]Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerrnorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customerService' defined in ServletContext resource [/WEB-INF/spring/applicationContext-spring.xml]: Instantiation of bean failed; nested exception is java.lang.IllegalStateException: No bean class specified on bean definitionrnrnrn代码文件rnapplicationContext-spring.xmlrn[code=XML]rnrnrn rn rn rn rn rn rn rn rn rn rn rn rnrnrn[/code]rnrnapplicationContext-hibernate.xmlrn[code=XML]rnrnrnrnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn org.hibernate.dialect.Oracle9Dialectrn rn rn rn rn rn com/test/hibernate/entity/Customer.hbm.xmlrn rn rn rn rn rn rn rn rnrnrn[/code]rnrnCustomerDAOImplrn[code=Java]rnpublic class CustomerDAOImpl extends HibernateDaoSupport implements CustomerDAO rnrn public void delete(Integer id) rn // TODO Auto-generated method stubrn this.getHibernateTemplate().delete(this.getCustomerById(id));rn rnrn public void save(Customer cus) rn // TODO Auto-generated method stubrn this.getHibernateTemplate().save(cus);rn rnrnrn public void update(Integer id) rn // TODO Auto-generated method stubrn this.getHibernateTemplate().update(this.getCustomerById(id));rn rnrn public Customer getCustomerById(Integer id) rn // TODO Auto-generated method stubrn return (Customer) this.getHibernateTemplate().get(Customer.class, id);rn rnrn public Customer getCustomerByLoginId(String loginId) rn // TODO Auto-generated method stubrn String hql="from Customer c where c.loginId = ?";rn List list=this.getHibernateTemplate().find(hql);rn Customer cus = list.get(0);rn return cus;rn rnrn[/code]rnrnCustomerServiceImplrn[code=Java]rnpublic class CustomerServiceImpl implements CustomerService rnrn private CustomerDAO dao;rn rn public void addUser(Customer user) rn // TODO Auto-generated method stubrn dao.save(user);rn rnrn public boolean checkLogin(String loginId, String pass) rn // TODO Auto-generated method stubrn Customer cus=dao.getCustomerByLoginId(loginId);rn rn if(cus!=null && cus.getPassword().equals(pass))rn return true;rn rn return false;rn rnrn public Customer getCustomer(Integer id) rn // TODO Auto-generated method stubrn return dao.getCustomerById(id);rn rnrn public void setCustomerDao(CustomerDAO dao) rn // TODO Auto-generated method stubrn this.dao=dao;rn rnrn[/code] 论坛

Context [] startup failed due to previous errors

06-30

在启动服务器时,出现以下错误,rn环境:Vista basic myeclipse6.0 tomcat6rn这个项目是个Strtus2,请教各位怎么解决这个问题,rn在网上也找了相关的解决方法,删了所有的项目是,不出现这个问题,这个项目也是才新建的项目,rn没有任何内容,只是把Strtus2的jar包放在了相应的文件夹下,rn各位大侠请指教!!rnrnrn2009-6-30 14:03:32 org.apache.catalina.core.AprLifecycleListener initrn信息: The Apache Tomcat Native library which allows optimal performance in produrnction environments was not found on the java.library.path: C:\Tomcat 6.0\bin;.;Crn:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\PC Connecrntivity Solution\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Javarn\jdk1.6\bin;C:\Java\jre1.6\bin;C:\MySQL\MySQL Server 5.0\bin;D:\pythonrn2009-6-30 14:03:32 org.apache.coyote.http11.Http11Protocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2009-6-30 14:03:32 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 564 msrn2009-6-30 14:03:33 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2009-6-30 14:03:33 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.14rn2009-6-30 14:03:33 org.apache.catalina.core.StandardContext startrn严重: Error filterStartrn2009-6-30 14:03:33 org.apache.catalina.core.StandardContext startrn严重: Context [/time] startup failed due to previous errorsrn2009-6-30 14:03:34 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2009-6-30 14:03:34 org.apache.jk.common.ChannelSocket initrn信息: JK: ajp13 listening on /0.0.0.0:8009rn2009-6-30 14:03:34 org.apache.jk.server.JkMain startrn信息: Jk running ID=0 time=0/26 config=nullrn2009-6-30 14:03:34 org.apache.catalina.startup.Catalina startrn信息: Server startup in 1733 msrn 论坛

spring2.5 mvc的配置文件 Context [/bspr] startup failed due to previous errors

05-20

tomcat-6.0.14rn工具是MyEcplise 7.0rn我建立一个web project,名字为bsprrn建立好后,添加到运行环境里rnhttp://localhost:8010/bspr/index.jsprn可以显示出来内容:This is my JSP page. rnrnrn之后我开始配置spring mvcrn修改web.xmlrn添加一个bsprm-servlet.xmlrnrn在src下建立 一个applicationContext.xmlrnrn之后在运行,就出现rnFeb 1, 2004 5:59:36 AM org.apache.catalina.startup.HostConfig checkResourcesrnINFO: Reloading context [/bspr]rnFeb 1, 2004 5:59:36 AM org.apache.catalina.core.StandardContext stoprnINFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bspr] has not been startedrnFeb 1, 2004 5:59:39 AM org.apache.catalina.core.StandardContext listenerStartrnSEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListenerrnjava.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListenerrn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)rn at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)rn at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3773)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)rn at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1105)rn at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1203)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)rn at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)rn at java.lang.Thread.run(Unknown Source)rnFeb 1, 2004 5:59:39 AM org.apache.catalina.core.StandardContext listenerStartrnSEVERE: Skipped installing application listeners due to previous error(s)rnFeb 1, 2004 5:59:39 AM org.apache.catalina.core.StandardContext startrnSEVERE: Error listenerStartrnFeb 1, 2004 5:59:39 AM org.apache.catalina.core.StandardContext startrnSEVERE: Context [/bspr] startup failed due to previous errorsrnrnrn这样的错误了!!rnrn这个问题卡住了很长时间了,不知道什么原因rn恳请出手帮忙指点下rn严重感谢,就剩下30分了,以后有分了在给!rnrn 论坛

没有更多推荐了,返回首页