
Mysql
aigoV
和我在成都的街头走一走
展开
-
mybatis collection中传递多参数时 报错:ReflectionException:There is no setter for property named xxxxx
报错信息:Caused by: org.apache.ibatis.reflection.ReflectionException: There is no setter for property named 'xxxxx' in 'class java.lang.String'原因其实有很多种,比如</resultMap>里面定义字段时,字段后面跟了空格等: "xxx "我这里出现这个bug的原因是,我在这个</collection>中引用的子查询里定义了个参数..原创 2020-05-20 17:33:27 · 1329 阅读 · 1 评论 -
安装mysql-5.8.0.19:由于找不到VCRUNTIME140_1.dll,无法继续执行代码。重新安装程序可能会解决此问题
出现上诉问题下载安装Visual C++ Redistributable for Visual Studio 2019即可:链接: https://pan.baidu.com/s/1hqxFPkrVVVCh_9dTBO_kEA提取码: kc83原创 2020-02-19 16:33:39 · 1176 阅读 · 1 评论 -
解决mysql root账户连接报错:1045 - Access denied for user root@localhost(using password: YES)
这个报错是由于root密码不对(可能你记错了),重置root 密码就可,方法如下,亲试有效(Windows环境下)!1 管理员身份进入cmd点击“开始”菜单——>输入cmd(右键以管理员方式运行)2 解决10452.1 往my.ini文件加skip-grant-tables 指令在mysql安装目录下找到my.ini文件,默认安装在c盘,我安装在e盘的,直接在...原创 2019-04-28 11:43:25 · 18990 阅读 · 9 评论 -
解决:Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.
问题解决很简单,主要是你得知道这是为什么。1、问题:我在搭建完项目环境,启动项目测试时报了个com.mysql.jdbc.Driver的警告,这实际上不是一个错误信息,而是一个警告,不改也不影响项目运行,但作为强迫症看不下去。。。警告信息如下:Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driv...原创 2019-05-14 11:10:59 · 27533 阅读 · 7 评论 -
解决:InvalidConnectionAttributeException: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or
1、问题:搭建了一个新的项目,启动时报了个数据库有关的异常:Caused by: com.mysql.cj.exceptions.InvalidConnectionAttributeException: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zo...原创 2019-05-14 11:45:16 · 2488 阅读 · 0 评论