日期:2014-05-19  浏览次数:20851 次

Could not load com.mysql.jdbc.SQLError.and has no functional impact. java.lang.I
信息: Illegal access: this web application instance has been stopped already. Could not load com.mysql.jdbc.SQLError. 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:1533)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1493)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:1775)
at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:1728)
at com.mysql.jdbc.MysqlIO.quit(MysqlIO.java:1045)
at com.mysql.jdbc.Connection.realClose(Connection.java:2045)
at com.mysql.jdbc.Connection.cleanup(Connection.java:2619)
at com.mysql.jdbc.Connection.finalize(Connection.java:1226)
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)

这是个什么错误 啊 每次发布的时候就会出现

------解决方案--------------------
1 看看tomcat是不是关了
2 mysql服务有没有启动
------解决方案--------------------
如果用连接池 把mysql的驱动包放入到 tomcat5.x 版本的 common\lib,如果是tomcat 6.x就直接放到 lib目录下 ,的下面 这样就会好 如果用jdbc 那就放到工程下面的lib就ok了