以下是错误信息:
2009-1-17 1:18:09 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
2009-1-17 1:18:17 org.apache.catalina.core.StandardContext addApplicationListener
信息: The listener "org.springframework.web.context.ContextLoaderListener" is already configured for this context. The duplicate definition has been ignored.
log4j:WARN No appenders could be found for logger (org.springframework.core.CollectionFactory).
log4j:WARN Please initialize the log4j system properly.
2009-1-17 1:18:18 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
2009-1-17 1:18:23 org.apache.catalina.loader.WebappClassLoader loadClass
信息: 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:1246)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2720)
at com.mysql.jdbc.MysqlIO.quit(MysqlIO.java:1380)
at com.mysql.jdbc.Connection.realClose(Connection.java:4048)
at com.mysql.jdbc.Connection.cleanup(Connection.java:1247)
at com.mysql.jdbc.Connection.finalize(Connection.java:2556)
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Unknown Source)
at java.lang.ref.Finalizer.access$100(Unknown Source)
at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)请问怎么解决?

解决方案 »

  1.   

    这个应该不算是错误信息吧, 只是给你一些提示
    信息: The listener "org.springframework.web.context.ContextLoaderListener" is already configured for this context. 
    这个是说你的spring context已经配置并运行了(你试图再次运行?)信息: Illegal access: this web application instance has been stopped already.  
    这个是说你的web context已经停止了;
      

  2.   

    请问Could not load com.mysql.jdbc.SQLError
    这个是应为上一原因产生的吗?
      

  3.   

    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.
    上面说了 不影响功能的