检查你的代码,把类似System.exit(0);这样的方法去掉,tomcat的所有applications都是在Tomcat's main thread下运行的,如果你的application call System.exit(0) or whatever的话,Tomcat就会shutdown himself,如果没有的话,看看你用了什么third-party software, try to uncomment them and try again, if tomcat still working improperly, reinstall tomcat, but I don't think tomcat would involue such issues

解决方案 »

  1.   

    改端口,不成功则
    看计算机管理->服务里是不是有自动运行着的tomcat,不成功则
    查看jdk设置,startup.bat:set set java_home=%yourJDKpath%
    另:你那一段时间是多长,是一闪而过,还是刷刷一顿报错后,还是运行3,5个月后
      

  2.   

    这种情况一般都是因你的配置文件出错引起的!
    比如web.xml、server.xml
    或者你的某一个应用的配置文件(只要是Tomcat启动时需要加载的配置文件)出错都能引起TOMCAT启动出错