七月 23, 2014 2:34:35 下午 org.apache.catalina.loader.WebappClassLoader loadClass 信息 : Illegal access: this web application instance has been stopped already. Could not load com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionExce
七月 23, 2014 2:34:35 下午 org.apache.catalina.loader.webappclassloader loadclass
信息: illegal access: this web application instance has been stopped already. could not load com.mysql.jdbc.exceptions.jdbc4.mysqlnontransientconnectionexception. the eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.illegalstateexception
at org.apache.catalina.loader.webappclassloader.loadclass(webappclassloader.java:1244)
at org.apache.catalina.loader.webappclassloader.loadclass(webappclassloader.java:1204)
at java.lang.class.forname0(native method)
at java.lang.class.forname(class.java:190)
at com.mysql.jdbc.util.getinstance(util.java:386)
at com.mysql.jdbc.sqlerror.createsqlexception(sqlerror.java:1013)
at com.mysql.jdbc.sqlerror.createsqlexception(sqlerror.java:987)
at com.mysql.jdbc.sqlerror.createsqlexception(sqlerror.java:982)
at com.mysql.jdbc.sqlerror.createsqlexception(sqlerror.java:927)
at com.mysql.jdbc.connectionimpl.connectonetryonly(connectionimpl.java:2412)
at com.mysql.jdbc.connectionimpl.createnewio(connectionimpl.java:2154)
at com.mysql.jdbc.connectionimpl.
at com.mysql.jdbc.jdbc4connection.
原因是:
tomcat重新装载web应用程序失败导致的。当应用程序卸载时,并不会关闭所有的线程。当tomcat已经关闭了其类加载器后,一些线程依然会继续运行,这样就导致出错。不过这个不影响正常使用,不管影响不影响,看到异常信息就不顺眼。
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号