12 2020 档案
IDEA中Mybatis测试代码报错
摘要:一、问题描述 IDEA中运行Myabtis的测试代码时,报如下错误: org.apache.ibatis.exceptions.PersistenceException: ### Error building SqlSession.### The error may exist in com/sul
IDEA连接数据库的时候报错:Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' property
摘要:一、问题描述 IDEA连接数据库的时候报错:Server returns invalid timezone. Go to 'Advanced' tab and set 'serverTimezone' property 原因:时区错误,Mysql默认的时区是UTC时区,比北京晚8小时 二、解决方法
JSTL报错at org.apache.jasper.compiler.DefaultErrorHandler.jspError
摘要:一、问题描述 启动Tomcat9,然后访问jsp页面,出现如下 14-Dec-2020 10:20:40.983 涓ラ噸 [http-nio-8080-exec-4] org.apache.catalina.core.StandardWrapperValve.invoke 鍦ㄨ矾寰勪负鐨勪笂涓嬫枃涓
idea常用的快捷操作
摘要:idea常用快捷键: 1、psvm:快速生成main方法 2、ctrl+shift+上键:将光标所在的代码块向上移动 3、shift+alt+上键:将光标所在行向上移动 4、Ctrl+F:在当前文件中查找 5、Ctrl+R:替换字符串 6、Ctrl+Shift+Enter:在当前行的下方插入一行 7
在Idea中的Tomcat中的Output框中中文显示为乱码。
摘要:1.先找到Tomcat安装目录中的conf目录 2、再找到conf中的logging.properties,打开并编辑 3、将UTF-8改为GBK即可