启动tomcat 后 报出如下错误,并自动关闭了tomcat,请高手解答!
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了启动tomcat 后 报出如下错误,并自动关闭了tomcat,请高手解答!相关的知识,希望对你有一定的参考价值。
uartz.core.QuartzScheduler] - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED paused.
2011-09-03 14:57:29,750 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@c069ec: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,taskJob,methodInvokingJobDetail,cronTrigger,org.springframework.scheduling.quartz.SchedulerFactoryBean#0,dataSource,sessionFactory,transactionManager,txAdvice,org.springframework.aop.config.internalAutoProxyCreator,allServiceMethod,org.springframework.aop.support.DefaultBeanFactoryPointcutAdvisor#0,pagerManager,sendInfoManager,noteBookManager,publickManager,sendItemManager,userManager,sysManager]; root of factory hierarchy
2011-9-3 14:57:29 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
2011-09-03 14:57:29,750 INFO [org.springframework.scheduling.quartz.SchedulerFactoryBean] - Shutting down Quartz Scheduler
2011-09-03 14:57:29,750 INFO [org.quartz.core.QuartzScheduler] - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED shutting down.
2011-09-03 14:57:29,750 INFO [org.quartz.core.QuartzScheduler] - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED paused.
2011-09-03 14:57:29,750 INFO [org.quartz.core.QuartzScheduler] - Scheduler org.springframework.scheduling.quartz.SchedulerFactoryBean#0_$_NON_CLUSTERED shutdown complete.
2011-09-03 14:57:29,765 INFO [org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean] - Closing Hibernate SessionFactory
2011-9-3 14:57:29 org.apache.catalina.core.ApplicationContext log
信息: Shutting down log4j
2011-9-3 14:57:29 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/Mess] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2011-9-3 14:57:29 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/Mess] appears to have started a thread named [MySQL Statement Cancellation Timer] but has failed to stop it. This is very likely to create a memory leak.
2011-9-3 14:57:29 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
不用连接数据库,我就是新建了个 项目,根本不行!
追答新建一个项目,先要把以前的项目删除,Tomcat启动会将webapps下的所有应用导入的
参考技术B 问题 有找到答案吗? 参考技术C 你这是项目出错啦而且是SPRING配置上的错,你看下你的jdbc配置方面有没有问题追问
没有问题,我换了好几个版本都有同样的错误!我的系统是sever2003,是不是系统的问题!tomcat运行都是成功的,jdk配置也是成功
追答只能是你配置错误,如果没有这个项目,你的TOMCAT肯定不会报错,
你把一开始报的错发出来,要么你自己去网上搜下.
以上是关于启动tomcat 后 报出如下错误,并自动关闭了tomcat,请高手解答!的主要内容,如果未能解决你的问题,请参考以下文章