![](https://img-blog.csdnimg.cn/20190918140145169.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
异常处理
记录学习过程遇到的异常及解决方法
_Wyatt
正在奋斗
展开
-
Caused### Error querying database. Cause: com.mysql.cj.jdbc.exceptions.CommunicationsException
1.异常描述:Error querying database. Cause: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failureThe last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.2.异常原原创 2022-08-30 12:47:54 · 4424 阅读 · 0 评论 -
GET http://localhost:8080/static/script/vue.js net::ERR_ABORTED 404
在html文件里习惯性直接把vue.js拖动到< head >标签来添加路径这样添加的是相对路径,但是如上图,第三行已经添加了base标签,最终导致vue.js的引入路径是错误的。原创 2022-08-15 10:55:32 · 2338 阅读 · 0 评论 -
com.alibaba.druid.pool.GetConnectionTimeoutException: wait millis 1013, active 10
去看一下druid.properties里的maxActive是多少,如果与报错信息最后的"active"一样大,则原因显然是程序需要的连接数超出了连接数的最大值。连接数达到最大值后,程序再想要获取新连接时只能一直等待,最终导致超时而报错。......原创 2022-08-14 19:50:10 · 2440 阅读 · 0 评论