tomcat加载失败

来源:互联网 发布:林书豪16赛季数据 编辑:程序博客网 时间:2024/05/22 03:28
tomcat启动加载信息如下:
Connected to server[2017-10-16 09:02:28,149] Artifact basic-admin:war exploded: Artifact is being deployed, please wait...十月 16, 2017 9:02:31 下午 org.apache.catalina.startup.TldConfig execute信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.十月 16, 2017 9:02:36 下午 org.apache.catalina.core.StandardContext startInternal严重: One or more listeners failed to start. Full details will be found in the appropriate container log file十月 16, 2017 9:02:36 下午 org.apache.catalina.core.StandardContext startInternal严重: Context [] startup failed due to previous errors十月 16, 2017 9:02:36 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc严重: The web application [] registered the JDBC driver [com.alibaba.druid.mock.MockDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.十月 16, 2017 9:02:36 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc严重: The web application [] 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.十月 16, 2017 9:02:36 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc严重: The web application [] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.[2017-10-16 09:02:36,402] Artifact basic-admin:war exploded: Error during artifact deployment. See server log for details.十月 16, 2017 9:02:37 下午 org.apache.catalina.startup.HostConfig deployDirectory信息: Deploying web application directory E:\server\apache-tomcat-7.0.69\webapps\manager十月 16, 2017 9:02:38 下午 org.apache.catalina.startup.HostConfig deployDirectory信息: Deployment of web application directory E:\server\apache-tomcat-7.0.69\webapps\manager has finished in 141 ms
尝试解决方法:

  • tomcat从6.0.24版本之后引入了内存泄漏侦测的功能,当发现系统有垃圾无法回收时,就会输出日志信息。
    • 未解决
  • j将tomcat/conf/server.xml文件中的 listener注释;
    • 未解决
  • 查看tomcat启动log记录、位置如下

  • 发现在tomcat启动时,创建bean对象失败,包地址写错了


    更正后问题解决;

  • 发现问题还是要多看日志。。里面提供很多详细信息。。对解决问题很有帮助!

原创粉丝点击