日期:2014-05-17  浏览次数:20737 次

tomcat启动后自动关闭
以前myeclipse用的是myeclipse tomcat,现在不想用它了。所以找了个绿色的tomcat,但是配置完成后,启动后老自己关闭。不知道为啥?并且后台报错
2013-09-09 16:34:37,062 ERROR [org.springframework.web.context.ContextLoader] - <Context initialization failed>
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduledTask' defined in ServletContext resource [/WEB-INF/applicationContext-monitor.xml]: Cannot resolve reference to bean 'AutoMonitorService' while setting bean property 'timerTask'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'AutoMonitorService' defined in ServletContext resource [/WEB-INF/applicationContext-monitor.xml]: Cannot resolve reference to bean 'dataGetterMaintainer' while setting bean property 'dataGetterMaintainer'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataGetterMaintainer' defined in ServletContext resource [/WEB-INF/applicationContext-monitor.xml]: Invocation of init method failed; nested exception is java.io.FileNotFoundException: E:\wlanportal1026\cgomc\cgomc_xml\data_getter.xml (系统找不到指定的路径。)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:574)