`

this web application instance has been stopped already.

 
阅读更多
这是我启动不报错,但是启动之后再发部时报的错:
信息: Illegal access: this web application instance has been stopped already.  Could not load java.net.BindException.  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:1241)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at com.mysql.jdbc.CommunicationsException.<init>(CommunicationsException.java:135)
at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2634)
at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2547)
at com.mysql.jdbc.MysqlIO.quit(MysqlIO.java:1300)
at com.mysql.jdbc.Connection.realClose(Connection.java:2101)
at com.mysql.jdbc.Connection.cleanup(Connection.java:2850)
at com.mysql.jdbc.Connection.finalize(Connection.java:2016)
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)
2008-12-22 3:02:17 org.apache.catalina.loader.WebappClassLoader loadClass
信息: Illegal access: this web application instance has been stopped already.  Could not load com.mysql.jdbc.Messages.  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:1241)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at com.mysql.jdbc.CommunicationsException.<init>(CommunicationsException.java:148)
at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2634)
at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2547)
at com.mysql.jdbc.MysqlIO.quit(MysqlIO.java:1300)
at com.mysql.jdbc.Connection.realClose(Connection.java:2101)
at com.mysql.jdbc.Connection.cleanup(Connection.java:2850)
at com.mysql.jdbc.Connection.finalize(Connection.java:2016)
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)

这种错误真正原因不是JDK 6和Struts 冲突, 而是 MyEclipse Hibernate 类库中多了两个包: xml-apis.jar和xerces-2.6.2.jar, 这两个包的功能和JDK的冲突了. 解决办法: 1. 删除发布后目录的 WEB-INF/lib/ 下的这两个文件其中的xerces-2.6.2.jar
分享到:
评论

相关推荐

    借助Ehcache缓存框架实现对页面的缓存Demo

    信息: Illegal access: this web application instance has been stopped already. Could not load net.sf.ehcache.store.disk.DiskStore$KeySet. The eventual following stack trace is caused by an error thrown...

    Proxool-0.9.1

    SEVERE: The web application [/xxx] registered the JDBC driver [org.logicalcobwebs.proxool.ProxoolDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the...

    关闭tomca报错t,网络整理

    严重: The web application [/img] 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...

    20210222-中金公司-海外策略:GameStop事件,Game_Stopped?.pdf

    20210222-中金公司-海外策略:GameStop事件,Game_Stopped?.pdf

    EPM Add-in_NET40

    office 2013 EPM插件,EPM add-in for Microsoft Office 是在由SAP BusinessObjects开发类别 Miscellaneous Shareware 软件。EPM系统插件add-in安装 - EPM 系统插件 Add-in 安装 说明: Add-in 为依附在 excel 上的一...

    海外策略:GameStop事件,Game_Stopped?.rar

    海外策略:GameStop事件,Game_Stopped?

    BURNINTEST--硬件检测工具

    This has been corrected. Release 5.3 build 1020 WIN32 release 29 May 2008 - BurnInTest could have crashed on accessing bad video memory hardware in the 2D test. This problem is now just reported ...

    Android代码-ForceStopGB

    Why this module Android 3.1 introduces Launch controls on stopped applications. However, there are no such features on android 2.3, some 4.X devices didn't implement it well. Furthermore, there are ...

    Android代码-CustomActivityOnCrash

    This library allows launching a custom activity when the app crashes, instead of showing the hated "Unfortunately, X has stopped" dialog. How to use One-step install Add the following dependency to ...

    S7A驱动720版本

    This bug has been fixed - After driver uninstall, not all of the S7A-related registry entries were deleted. Now the registry will be completely cleaned from S7A registry entries after uninstall. -...

    多目标规划fgoalattain(MATLAB代码)

    fgoalattain stopped because it exceeded the function evaluation limit, options.MaxFunctionEvaluations = 400 (the default value). x = 0.0123764041883559 6.60270284335016e-05 6.60195797535719e-05 ...

    TeeChart Pro Activex Control v5

    in VBA the method has been duplicated with name 'Buttons'. 5. Omission in previous releases, the OffsetValues ValueList for Bar3D Series is accessible by code for this release. 6. Omission in ...

    Cesium-1.73.zip

    cesium1.73源码,官网直接下载速度非常慢,放这里方便大家下载

    GNUPro Debugging Tools

    Examine what has happened when your program has stopped. Change things in your program, so you can experiment with correcting the effects of one bug and go on to learn about another problem affecting...

    PS-ReC SDK v1.1.0e

    As announced earlier this year, unfortunately Canon has stopped developing an SDK for our PowerShot digital cameras, and it is being phased out during this year. We would therefore like to notify you ...

    ambari报错解决

    报错1: Using python /usr/bin/python Starting ambari-server Ambari Server running with administrator privileges. ERROR: Exiting with exit code -1. REASON: Before starting Ambari Server, you must copy ...

    DebuggingWithGDB 6.8-2008

    4.7 Debugging an Already-running Process . . . . . . . . . . . . . . . . . . . . . . 4.8 Killing the Child Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.9 Debugging ...

    2008年6月大学英语六级A卷真题

    Obesity,” he says.” will have been solved.” Robots Rodney Brooks, professor of robotics at MIT, says the problems of developing artificial intelligence for robots will be at least partly overcome....

    Photoshop.CS4.大辞典.pdf

    program’s popularity but instead Adobe has been hard at work improving what was already a great product. The CS4 version, just like the releases before it, is a state-of-the-art imageediting program ...

Global site tag (gtag.js) - Google Analytics