ITeye博客

Context [] startup failed due to previous errors

ycjunhua · 2009-01-12 16:02 · java · Apache · Tomcat · Markdown

 今天上午项目还可以启动,下午重启了一下机器,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下的包重新加载到工程才成功,耶辛苦了~~~~~

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。