tomcat 运行J2EE项目时,启动报错:
Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor.
原因有以下的可能:
1、mysql未启动(J2EE项目使用到了mysql数据库)
2、应用程序比较庞大,有很多启动加载项和初始化工作,或者log太多
解决方法:
1、启动mysql数据库
2、修改超时时间(不同版本设置方法有点不一样,具体百度吧)