Webapplicationcontext initialization of Spring Project two-time workaround

Source: Internet
Author: User

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/83/90/wKiom1d1-c7jPgslAAGfIef-ARY014.png-wh_500x0-wm_3 -wmp_4-s_1816453969.png "title=" 11116.png "alt=" Wkiom1d1-c7jpgslaagfief-ary014.png-wh_50 "/>

you can see that the initializing Spring root webapplicationcontext is only 5 seconds apart from two initialization .

The problem is due to the red box: Two inconsistencies are caused, and both are changed to BI problem resolution.

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/83/8E/wKioL1d1-oLSoSypAADYkhHh4iU196.png-wh_500x0-wm_3 -wmp_4-s_180382523.png "title=" 1111.png "alt=" Wkiol1d1-olsosypaadykhhh4iu196.png-wh_50 "/>

After modification:

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/83/90/wKiom1d1-3OiCWGXAAClhuNzXG8476.png-wh_500x0-wm_3 -wmp_4-s_3676468472.png "title=" 2222.png "alt=" Wkiom1d1-3oicwgxaaclhunzxg8476.png-wh_50 "/>

Solution for Webapplicationcontext initialization of spring projects two times

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.