Context [] startup failed due to previous errors

     今天上午项目还可以启动,下午重启了一下机器,tomcat就报:
     严重: Error listenerStart
     2009-1-12 14:17:17 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2009-1-12 14:17:17 org.apache.catalina.core.StandardContext start
严重: Context [] startup failed due to previous errors
2009-1-12 14:17:18 org.apache.catalina.core.StandardContext addApplicationListener
信息: The listener "listeners.ContextListener" is already configured for this context. The duplicate definition has been ignored.
2009-1-12 14:17:18 org.apache.catalina.core.StandardContext addApplicationListener
信息: The listener "listeners.SessionListener" is already configured for this context. The duplicate definition has been ignored.
     在网上查了一圈,有说是环境变量问题,有说Tomcat版本的问题,照着做了都没用,郁闷啊。后来仔细的看了一下日志,是说找不到addApplicationListener的这个类,我到classes文件下果然没有这个.class。重新clean和刷新工程也没有用,最后将lib下的包重新加载到工程才成功,耶辛苦了~~~~~

你可能感兴趣的:(apache,tomcat)