i will get initialization fail error when i use ajax or webservice to call backend. It only occur when i first start tomcat and use webservice. The error only can solve once i view the page and do any transaction on web after start tomcat.Then only can use webservice to call. It is because spring has not initialise he applicationcontext and then webservice go and getBean. So any suggestion?