![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
Error集
整理踩过的坑
HuntFoxers
这个作者很懒,什么都没留下…
展开
-
JavaWeb常见错误总结
关于JavaWeb项目这里由于浏览器缓存的原因可能经常报错,建议用谷歌的无痕浏览。还有lib包一定要放在web-inf下,因为idea的默认配置是在web-inf下查找lib包,不然会报错。404的问题就是路径错误,可能是引入JS文件的路径错了,可能是你请求的路径错了。500是服务器内部错误,就是你的代码写错。...原创 2020-12-09 21:15:25 · 505 阅读 · 0 评论 -
数据库异常
碰到数据库异常,首先应该检查数据库有没有启动。com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure原创 2020-11-26 22:54:21 · 164 阅读 · 0 评论 -
报错解决:时区设置错误-The server time zone value ‘�й���‘ is unrecognized or represents more than one time zone
Loading class com.mysql.jdbc.Driver'. This is deprecated. The new driver class iscom.mysql.cj.jdbc.Driver’. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.java.sql.SQLException: The serve原创 2020-11-16 14:22:51 · 222 阅读 · 0 评论 -
报错解决:加载数据库驱动报错-Loading class `com.mysql.jdbc.Driver‘. The new driver class is `com.mysql.cj.jdb
Loading class com.mysql.jdbc.Driver'. This is deprecated. The new driver class iscom.mysql.cj.jdbc.Driver’. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.报错解决加载数据库驱动报错。用新版本驱动就可以解决。mysq原创 2020-11-16 14:18:28 · 268 阅读 · 0 评论 -
报错解决:Uncaught ReferenceError: Invalid left-hand side in assignment
报错解决:Uncaught ReferenceError: Invalid left-hand side in assignment报错截图:翻译为:赋值左侧无效原因:在javaScript中给background-color修改属性错误代码为:hid.style.background-color = "#ddd";这段代码是在javaScript里面写的,用到了CSS样式里的background-color,但是脚本语言并不支持用“-”来命名,所以报错,正确写法应该是 hid.原创 2020-10-23 17:06:00 · 10676 阅读 · 0 评论 -
equals与“==”比较时的误区
public Express findByNumber(String number){ for(Express e:arr){ if(e.getNumber().equals(number)){ return e; } } public Express findByNumber(String number){ for(Express e:arr){ ...原创 2020-09-22 23:15:51 · 108 阅读 · 0 评论