Spring2.5 初始化很慢

INFO ApplicationContext.java:638 - Initializing Spring root WebApplicationContext
INFO ContextLoader.java:189 - Root WebApplicationContext: initialization started
INFO AbstractApplicationContext.java:411 - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@1087d61: display name [Root WebApplicationContext]; startup date [Wed Mar 11 14:24:43 CST 2009]; root of context hierarchy
INFO XmlBeanDefinitionReader.java:323 - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
INFO AbstractApplicationContext.java:426 - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@1087d61]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1704ebb
INFO DefaultListableBeanFactory.java:414 - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1704ebb: defining beans []; root of factory hierarchy
INFO ContextLoader.java:209 - Root WebApplicationContext: initialization completed in 35703 ms

这是用tomcat加载Spring2.5的时候的信息
initialization completed in 35703 ms
单间加载Spring就让我等了35秒,还没有加载Struts2呢,整个项目加载下来需要90秒,相当之慢,有没有人碰到过这种问题啊?提供几个解决方案!谢谢!
http://www.xj-zp.com

你可能感兴趣的:(java,spring,tomcat,bean,Web)