摘要: 将以下代码放置到 main方法中。然后在resources 中的static中新建404.html、405.html,这里可以自定义错误编码,不局限于这两个。 阅读全文
posted @ 2018-03-27 23:16 小葱拌豆腐~ 阅读(2634) 评论(0) 推荐(0) 编辑
摘要: 本地升级了下MySQL的版本,从5.6升为5.7,数据文件直接拷贝的,项目查询数据库报错: Could not retrieve transation read-only status server The last packet successfully received from the ser 阅读全文
posted @ 2018-03-27 22:31 小葱拌豆腐~ 阅读(11883) 评论(0) 推荐(0) 编辑