开发者

Exception sending context initialized

When i am running my application it give me this exception:-

Exception sending context initialized event to listener instance of class                  
org.springframework.web.util.Log4jConfigListener
java.lang.ExceptionInInitializerError

But this problem is not permanent. If i remove the log4j entries from web.xm开发者_运维百科l and restart p.c and then again add log4j entries and start the server, then the application works fine. I noticed that when the application is deployed and when i undeploy and again deploy the same application, this problem emerge.

Please help me ........ i am facing this problem from 3 months...


I just investigated it a little and have found the similar issue:

It causes when multiple jar file for log4j is available to application. From web/application server and from build path(Included from other path rather than web/application server)

You can see the entire thread here:

http://www.coderanch.com/t/551933/Spring/Exception-sending-context-initialized-event

looks like this is your problem.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜