Spring - application Initialized twice?

前端 未结 5 866
别那么骄傲
别那么骄傲 2020-12-09 19:57

When I starts to run my spring application my tomcat , the ContextRefreshedEvent fires twice. Please see the StackTrace.

Dec 20, 2013 6:07:56 PM         


        
5条回答
  •  独厮守ぢ
    2020-12-09 20:50

    You seem to have two s declared in your web.xml? Try removing one of these.

    
        org.springframework.web.context.ContextLoaderListener
    
    

提交回复
热议问题