启动tomcat就会报错
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/jeecg] 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.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/jeecg] registered the JDBC driver [oracle.jdbc.driver.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [net.sf.ehcache.CacheManager@446f0759] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [Replication Thread] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [Replication Thread] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [dictCache.data] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [eternalCache.data] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [schedulerFactory_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [schedulerFactory_Worker-2] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [schedulerFactory_Worker-4] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [schedulerFactory_Worker-5] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [schedulerFactory_Worker-6] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [schedulerFactory_Worker-7] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [schedulerFactory_Worker-8] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [schedulerFactory_Worker-9] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [schedulerFactory_Worker-10] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] 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.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/jeecg] registered the JDBC driver [oracle.jdbc.driver.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [net.sf.ehcache.CacheManager@446f0759] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [Replication Thread] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [Replication Thread] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [dictCache.data] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [eternalCache.data] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [schedulerFactory_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [schedulerFactory_Worker-2] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [schedulerFactory_Worker-4] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [schedulerFactory_Worker-5] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [schedulerFactory_Worker-6] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [schedulerFactory_Worker-7] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [schedulerFactory_Worker-8] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [schedulerFactory_Worker-9] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [schedulerFactory_Worker-10] but has failed to stop it. This is very likely to create a memory leak.
九月 20, 2016 5:54:27 下午 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/jeecg] appears to have started a thread named [cycleTestThread] but has failed to stop it. This is very likely to create a memory leak.
以上是运行时报的错误,找了很多 都是说是 内存溢出 修改 eclipse.ini
-Xms40m
-Xmx1024m
tomcat
-xx:PermSize=64m -xx:maxpermSize=1024m
都是内存溢出 我使用的电脑是6G内存的理论上来说不至于内存不足求大神帮忙解决
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
引用来自“求是科技”的评论
遇到过这种问题,还不止一次,解决办法
1.先将tomcat空跑起来,确定没问题后
2.在将app.war包放入tomcat,启动,成功后
3.重启ide,删掉tomcat,重新部署tomcat进来,在部署项目到tomcat上,就可以了
4.有一次我重启电脑解决的
你的这个是注册jdbc driver的问题,是不是没有指定driver
遇到过这种问题,还不止一次,解决办法
1.先将tomcat空跑起来,确定没问题后
2.在将app.war包放入tomcat,启动,成功后
3.重启ide,删掉tomcat,重新部署tomcat进来,在部署项目到tomcat上,就可以了
4.有一次我重启电脑解决的
你的这个是注册jdbc driver的问题,是不是没有指定driver