为了账号安全,请及时绑定邮箱和手机立即绑定

在web.xml中加入了shiroFilter后, 报错如下, 有人知道什么原因吗? 愁死我了。

10:26:28.667 [RMI TCP Connection(3)-127.0.0.1] INFO  c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closed11-May-2018 10:26:28.679 WARNING [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ssm] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.11-May-2018 10:26:28.679 WARNING [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ssm] 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 forcibly unregistered.[2018-05-11 10:26:28,695] Artifact ssm:war exploded: Error during artifact deployment. See server log for details.11-May-2018 10:26:32.430 INFO [Abandoned connection cleanup thread] org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already. Could not load []. 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 []. 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:1352)	at org.apache.catalina.loader.WebappClassLoaderBase.getResource(WebappClassLoaderBase.java:1028)	at com.mysql.jdbc.AbandonedConnectionCleanupThread.checkContextClassLoaders(AbandonedConnectionCleanupThread.java:90)	at com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:63)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)	at java.lang.Thread.run(Thread.java:748)


正在回答

4 回答

数据库连接有问题,没有连接上,检查一下数据源是否配置对了。用户名密码什么的

0 回复 有任何疑惑可以回复我~

这是告警,不是错误吧,可以不管

0 回复 有任何疑惑可以回复我~

我也遇到这个问题了,搜了好多没有解决。请问楼主解决了吗?

0 回复 有任何疑惑可以回复我~

DruidDataSource配置对了吗

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

在web.xml中加入了shiroFilter后, 报错如下, 有人知道什么原因吗? 愁死我了。

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信