java
foreversafehua
这个作者很懒,什么都没留下…
展开
-
常见异常——Java连接MySQL报时区错误
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException java.sql.SQLException: The server time zone value '�й���ʱ��' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone config原创 2021-06-20 23:10:22 · 425 阅读 · 0 评论 -
You may use special comments to disable some warnings.
原因: Eslint检测机制。 解决:进入build/webpack.base.conf.js 注释掉44行 然后,重新npm run dev原创 2021-04-04 15:31:58 · 118 阅读 · 0 评论 -
剑指 Offer 06. 从尾到头打印链表
题目要求 输入一个链表的头节点,从尾到头反过来返回每个节点的值(用数组返回)。 示例 1: 输入:head = [1,3,2] 输出:[2,3,1] class Solution { public int[] reversePrint(ListNode head) { ListNode cur = head; int count = 0; while(cur != null){ count ++; cu原创 2021-03-22 21:56:21 · 79 阅读 · 0 评论