Illegal access: this web application instance has been stopped already. Could not load com.mysql.jd

本文介绍了一种常见的SSH框架启动失败的问题,详细分析了启动时出现的IllegalStateException异常及Couldnotloadcom.mysql.jdbc.Driver错误的原因,并给出了具体的解决办法,即正确导入mysql-connector-java-5.1.21.jar。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

前段 时间自己搭建 ssh项目框架的项目,最近有时间重新搭建一套ssh框架的项目,

搭建完后,启动项目的时候报错:Illegal access: this web application instance has been stopped already.  Could not load com.mysql.jdbc.Driver.  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

翻译: 无法加载Could not load com.mysql.jdbc.Driver(驱动类的问题)

查询项目才发现少导入了mysql的jar 这里是(mysql-connector-java-5.1.21.jar)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值