java.lang.IllegalStateException: Illegal access: this web application instance has been stopped alr

实习的第二个异常出现了

09-Oct-2020 09:56:52.074 淇℃伅 [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already. Could not load [oracle.xdb.XMLTypeFactory]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
 java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [oracle.xdb.XMLTypeFactory]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
    at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1372)
    at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1360)
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1219)
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1180)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at oracle.jdbc.driver.PhysicalConnection.safelyGetClassForName(PhysicalConnection.java:4930)
    at oracle.jdbc.driver.PhysicalConnection.addClassMapEntry(PhysicalConnection.java:2913)
    at oracle.jdbc.driver.PhysicalConnection.addDefaultClassMapEntriesTo(PhysicalConnection.java:2899)
    at oracle.jdbc.driver.PhysicalConnection.initializeClassMap(PhysicalConnection.java:2603)
    at oracle.jdbc.driver.PhysicalConnection.ensureClassMapExists(PhysicalConnection.java:2596)
    at oracle.jdbc.driver.PhysicalConnection.getTypeMap(PhysicalConnection.java:2883)
    at com.mchange.v2.c3p0.impl.NewPooledConnection.carefulCheckTypeMap(NewPooledConnection.java:130)
    at com.mchange.v2.c3p0.impl.NewPooledConnection.<init>(NewPooledConnection.java:108)
    at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:198)
    at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
    at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
    at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
    at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
    at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
    at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)

在server里面报上述错误,启动失败,解决办法是看一下tomcat Localhost Log里面查看到了报错:

我的报错的原因是路径错误,修改之后就可以启动了!!!

posted @ 2020-10-09 10:12  手下留情  阅读(3069)  评论(0编辑  收藏  举报