3
回答
好好的项目突然在myeclipse下就跑不起来了
终于搞明白,存储TCO原来是这样算的>>>   

好好的项目,今天突然跑步起来了,但是别人却可以跑起来,错误如下


2014-04-24 20:58:40,640 {ContextLoader.java:312} - Context initialization failed
 java.lang.NoClassDefFoundError: Could not initialize class org.springframework.beans.factory.BeanCreationException
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)
	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
	at org.apache.catalina.core.StandardService.start(StandardService.java:525)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2014-4-24 20:58:40 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
java.lang.NoClassDefFoundError: Could not initialize class org.springframework.beans.factory.BeanCreationException
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)
	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
	at org.apache.catalina.core.StandardService.start(StandardService.java:525)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2014-4-24 20:58:40 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2014-4-24 20:58:40 org.apache.catalina.core.StandardContext start
严重: Context [/wnyy] startup failed due to previous errors
2014-4-24 20:58:40 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
2014-04-24 20:58:40,703 {AbstractApplicationContext.java:1025} - Closing Root WebApplicationContext: startup date [Thu Apr 24 20:58:29 CST 2014]; root of context hierarchy
 2014-04-24 20:58:40,718 {AbstractApplicationContext.java:1041} - Exception thrown from LifecycleProcessor on context close
 java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Thu Apr 24 20:58:29 CST 2014]; root of context hierarchy
	at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:350)
	at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1038)
	at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:993)
	at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:548)
	at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:142)
	at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4244)
	at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4879)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4749)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
	at org.apache.catalina.core.StandardService.start(StandardService.java:525)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2014-04-24 20:58:40,718 {DefaultSingletonBeanRegistry.java:433} - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@553763: defining beans [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,dataSource,sqlSessionFactory,org.mybatis.spring.mapper.MapperScannerConfigurer#0,org.springframework.aop.config.internalAutoProxyCreator,com.googlecode.ehcache.annotations.key.CachingReflectionHelper,com.googlecode.ehcache.annotations.key.ListCacheKeyGenerator.DEFAULT_BEAN_NAME,com.googlecode.ehcache.annotations.key.HashCodeCacheKeyGenerator.DEFAULT_BEAN_NAME,com.googlecode.ehcache.annotations.key.MessageDigestCacheKeyGenerator.DEFAULT_BEAN_NAME,com.googlecode.ehcache.annotations.key.ReflectionHashCodeCacheKeyGenerator.DEFAULT_BEAN_NAME,com.googlecode.ehcache.annotations.key.StringCacheKeyGenerator.DEFAULT_BEAN_NAME,com.googlecode.ehcache.annotations.impl.CacheAttributeSourceImpl#0,com.googlecode.ehcache.annotations.impl.CacheStaticMethodMatcherPointcut#0,com.googlecode.ehcache.annotations.interceptor.EhCacheInterceptor#0,com.googlecode.ehcache.annotations.config.internalEhCacheCachingAdvisor,ehCacheManager,transactionManager,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.config.internalBeanConfigurerAspect,workFlowHandler,taskUserManagerImpl,machineManagerImpl,managerManagerImpl,runManagerImpl,barnChangeManagerImpl,barnCountManagerImpl,barnFileManagerImpl,barnLedgerManagerImpl,barnManagerImpl,barnPlanManagerImpl,barnProcManagerImpl,barnQualityManagerImpl,paymentManagerImpl,areaManagerImpl,contractManagerImpl,farmerInfoManagerImpl,fmemberManagerImpl,serviceGroupManagerImpl,technicianManagerImpl,baseCooperativeManagerImpl,baseParamsManagerImpl,basePlanManagerImpl,shortCutManagerImpl,undoManagerImpl,acceptanceManagerImpl,examDataItemManagerImpl,examinationManagerImpl,examResultManagerImpl,growExcelManagerImpl,growManagerImpl,inftureManagerImpl,inftureWriteManagerImpl,operateLogManagerImpl,bussLevelServiceImpl,feedbackManagerImpl,gradeManagerImpl,labelActiveManagerImpl,labelUseManagerImpl,pesticideManagerImpl,qualityCountManagerImpl,roleLabelManagerImpl,soilmetalManagerImpl,sparyManagerImpl,yyZLZSManagerImpl,combinedFormFieldManagerImpl,combinedReportManagerImpl,fieldDefinitionManagerImpl,formAuditManagerImpl,formDefinitionManagerImpl,formFieldManagerImpl,formWriterManagerImpl,reportDefinitionManagerImpl,reportCountManagerImpl,reportExcelManagerImpl,reportSearchManagerImpl,reportTreeManagerImpl,reportWriteSearchManagerImpl,reportWriteTreeManagerImpl,stageExcelManagerImpl,stageInfoManagerImpl,stageManagerImpl,stageWriteManagerImpl,fertilizerManagerImpl,attachFileManagerImpl,authorityManagerImpl,baseDataManagerImpl,consParamsManagerImpl,groupManagerImpl,logManagerImpl,moduleManagerImpl,msgManagerImpl,orgManagerImpl,roleManagerImpl,userManagerImpl,userRoleManagerImpl,jjCountManagerImpl,waterRoadChangeManagerImpl,waterRoadChildProjectManagerImpl,waterRoadContractCountManagerImpl,waterRoadContractManagerImpl,waterRoadLedgerCountManagerImpl,waterRoadLedgerManagerImpl,waterRoadManagerImpl,waterRoadPlanCountManagerImpl,waterRoadPlanManagerImpl,waterRoadRecordCountManagerImpl,waterRoadRecordManagerImpl,waterRoadWeeklyCountManagerImpl,waterRoadWeeklyManagerImpl,myPasswordEncoder,myUrlLogoutSuccessHandler,exceptionResolver,org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator#0,afterlog,springContextHolder,multipartResolver,processEngineConfiguration,processEngine,repositoryService,runtimeService,taskService,historyService,managementService,formService,identityService,activitiTemplate,org.springframework.security.web.PortMapperImpl#0,org.springframework.security.web.context.HttpSessionSecurityContextRepository#0,org.springframework.security.web.authentication.session.SessionFixationProtectionStrategy#0,org.springframework.security.authentication.ProviderManager#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0,org.springframework.security.web.access.DefaultWebInvocationPrivilegeEvaluator#0,org.springframework.security.authentication.AnonymousAuthenticationProvider#0,org.springframework.security.web.authentication.rememberme.TokenBasedRememberMeServices#0,org.springframework.security.authentication.RememberMeAuthenticationProvider#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.authentication.www.BasicAuthenticationEntryPoint#0,org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter#0,org.springframework.security.config.http.UserDetailsServiceInjectionBeanPostProcessor#0,org.springframework.security.filterChainProxy,appSessionProcessingFilter,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,userDetailsService,taskUserMapper,machineMapper,managerMapper,runMapper,barnChangeMapper,barnFileMapper,barnLedgerMapper,barnMapper,barnNewQualityMapper,barnPlanMapper,barnProcMapper,barnQualityMapper,paymentMapper,subsidyMapper,areaMapper,contractMapper,farmerInfoMapper,fmemberMapper,serviceGroupMapper,technicianMapper,baseCooperativeMapper,baseParamsMapper,basePlanMapper,shortCutMapper,undoMapper,acceptanceMapper,examDataItemMapper,examinationMapper,examResultMapper,inftrueMapper,inftureWriteMapper,operateLogMapper,bussLevelMapper,feedbackMapper,gradeMapper,labelActiveMapper,labelUseMapper,pesticideMapper,qualityCountMapper,roleLabelMapper,soilmetalMapper,sparyMapper,yyZLZSMapper,combinedFormFieldMapper,combinedReportMapper,fieldDefinitionMapper,formAuditMapper,formDefinitionMapper,formFieldMapper,formWriterMapper,reportDefinitionMapper,reportSearchMapper,reportTreeMapper,reportWriteSearchMapper,reportWriteTreeMapper,stageMapper,stageWriteMapper,fertilizerMapper,attachFileMapper,authorityMapper,baseDataMapper,consParamsMapper,dicMapper,groupMapper,groupRelaMapper,guideMapper,logMapper,moduleMapper,msgMapper,orgMapper,portalMapper,roleMapper,sequenceMapper,userMapper,userPortalMapper,userRoleMapper,JJCountMapper,waterRoadChangeMapper,waterRoadChildProjectMapper,waterRoadContractCountMapper,waterRoadContractMapper,waterRoadLedgerCountMapper,waterRoadLedgerMapper,waterRoadMapper,waterRoadPlanCountMapper,waterRoadPlanMapper,waterRoadRecordCountMapper,waterRoadRecordMapper,waterRoadWeeklyCountMapper,waterRoadWeeklyMapper,taskUserManager,machineManager,managerManager,runManager,barnChangeManager,barnCountManager,barnFileManager,barnLedgerManager,barnManager,barnPlanManager,barnProcManager,barnQualityManager,paymentManager,areaManager,contractManager,farmerInfoManager,fmemberManager,serviceGroupManager,technicianManager,baseCooperativeManager,baseParamsManager,basePlanManager,shortCutManager,undoManager,acceptanceManager,examDataItemManager,examinationManager,examResultManager,growExcelManager,growManager,inftureManager,inftureWriteManager,operateLogManager,bussLevelService,feedbackManager,gradeManager,labelActiveManager,labelUseManager,pesticideManager,qualityCountManager,roleLabelManager,soilmetalManager,sparyManager,yyZLZSManager,combinedFormFieldManager,combinedReportManager,fieldDefinitionManager,formAuditManager,formDefinitionManager,formFieldManager,formWriterManager,reportDefinitionManager,reportCountManager,reportExcelManager,reportSearchManager,reportTreeManager,reportWriteSearchManager,reportWriteTreeManager,stageExcelManager,stageInfoManager,stageManager,stageWriteManager,fertilizerManager,attachFileManager,authorityManager,baseDataManager,consParamsManager,dicManager,groupManager,logManager,moduleManager,msgManager,orgManager,portalManager,roleManager,userManager,userPortalManager,userRoleManager,jjCountManager,waterRoadChangeManager,waterRoadChildProjectManager,waterRoadContractCountManager,waterRoadContractManager,waterRoadLedgerCountManager,waterRoadLedgerManager,waterRoadManager,waterRoadPlanCountManager,waterRoadPlanManager,waterRoadRecordCountManager,waterRoadRecordManager,waterRoadWeeklyCountManager,waterRoadWeeklyManager,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0]; root of factory hierarchy
 2014-04-24 20:58:40,718 {EhCacheManagerFactoryBean.java:133} - Shutting down EHCache CacheManager
 2014-4-24 20:58:40 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/wnyy] registered the JDBC driver [oracle.jdbc.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2014-4-24 20:58:40 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/wnyy] appears to have started a thread named [HouseKeeper] but has failed to stop it. This is very likely to create a memory leak.
2014-4-24 20:58:40 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/wnyy] appears to have started a thread named [Prototyper] but has failed to stop it. This is very likely to create a memory leak.
2014-4-24 20:58:41 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2014-4-24 20:58:41 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2014-4-24 20:58:41 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/16  config=null
2014-4-24 20:58:41 org.apache.catalina.startup.Catalina start
信息: Server startup in 14140 ms
Exception in thread "HouseKeeper" java.lang.NullPointerException
	at org.logicalcobwebs.proxool.HouseKeeperController.getHouseKeeperToRun(HouseKeeperController.java:53)
	at org.logicalcobwebs.proxool.HouseKeeperThread.run(HouseKeeperThread.java:33)



不知道有没有遇到相同问题的?



举报
红桃K
发帖于3年前 3回/2K+阅
顶部