TheIndustryArooki 2016-03-02 08:08 采纳率: 0%
浏览 24910

tomcat 启动报错 startup failed due to previous errors

3349 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - Named query checking : enabled
3349 [localhost-startStop-1] INFO org.hibernate.cfg.SettingsFactory - Check Nullability in Core (should be disabled when Bean Validation is on): enabled
4049 [localhost-startStop-1] INFO org.quartz.core.QuartzScheduler - Scheduler scheduler_$_NON_CLUSTERED shutting down.
4049 [localhost-startStop-1] INFO org.quartz.core.QuartzScheduler - Scheduler scheduler_$_NON_CLUSTERED paused.
4053 [localhost-startStop-1] INFO org.quartz.core.QuartzScheduler - Scheduler scheduler_$_NON_CLUSTERED shutdown complete.
Mar 02, 2016 4:01:45 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
Mar 02, 2016 4:01:45 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/heximobile] startup failed due to previous errors
Mar 02, 2016 4:01:45 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
SEVERE: The web application [/heximobile] 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.
Mar 02, 2016 4:01:45 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [/heximobile] 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.
Mar 02, 2016 4:01:45 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [/heximobile] appears to have started a thread named [Timer-1] but has failed to stop it. This is very likely to create a memory leak.
Mar 02, 2016 4:01:45 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /usr/apache-tomcat-7.0.67/webapps/heximobile has finished in 50,024 ms
Mar 02, 2016 4:01:45 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-1303"]
Mar 02, 2016 4:01:45 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Mar 02, 2016 4:01:45 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 50731 ms

  • 写回答

4条回答

  • usernameaaaa 2016-03-02 09:16
    关注

    1.web.xml文件,这个文件中定义了很多web服务启动需要的类、xml文件,如果这些找不到就会发生startup failed due to previous errors错误。
    2.如果使用spring的话,在applicationContext.xml中定义的类、xml文件找不到也会报这个错误。
    3。如果使用ibatis的话,在SqlMapConfig.xml中定义的xml文件找不到也会报这个错误。
    总结的经验就是一定要把配置文件中定义的每条信息弄清楚,不要拿来别人的代码就使用,这样就会解决这个问题。

    评论

报告相同问题?

悬赏问题

  • ¥20 双层网络上信息-疾病传播
  • ¥50 paddlepaddle pinn
  • ¥20 idea运行测试代码报错问题
  • ¥15 网络监控:网络故障告警通知
  • ¥15 django项目运行报编码错误
  • ¥15 请问这个是什么意思?
  • ¥15 STM32驱动继电器
  • ¥15 Windows server update services
  • ¥15 关于#c语言#的问题:我现在在做一个墨水屏设计,2.9英寸的小屏怎么换4.2英寸大屏
  • ¥15 模糊pid与pid仿真结果几乎一样