现在的位置: 首页 > 综合 > 正文

tomcat6 The duplicate definition has been ignored

2018年04月14日 ⁄ 综合 ⁄ 共 404字 ⁄ 字号 评论关闭

在将应用部署到Tomcat6.0.16,启动tomcat出现:

The listener "*Listener" is already configured for this context. The duplicate definition has been ignored

此是tomcat的bug:https://issues.apache.org/bugzilla/show_bug.cgi?id=44423#c8

解决方法:升级tomcat到6.0.32,问题没有出现,此时报Error listenerStart

http://mythinkpond.wordpress.com/2011/07/01/tomcat-6-infamous-severe-error-listenerstart-message-how-to-debug-this-error/

添加log4j.properties到classes下面,问题解决。奇怪。。。

抱歉!评论已关闭.