![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mybatis
再回首。
这个作者很懒,什么都没留下…
展开
-
mybatis配置xml全局文件
https://www.jianshu.com/p/8aa210d1e389转载 2019-09-26 20:45:05 · 142 阅读 · 0 评论 -
mybatisxml异常
Referenced file contains errors (http://mybatis.org/dtd/mybatis-3-config.dtd). For more information, right click on the message in the Problems View and select "Show Details..." **> 主要的原因就是连接有问题...转载 2019-09-26 22:16:56 · 129 阅读 · 0 评论 -
mybatis 连接mysql8.0异常
The reference to entity "serverTimezone" must end with the ';' delimiter. 对实体“serverTimeZone”的引用必须以“;”分隔符结尾。 解决的方案为 在xml的配置文件中 ;要用 & 代替。 即 <property name="jdbcUrl"> jdbc:mysql://localhost:3...原创 2019-09-26 22:48:28 · 246 阅读 · 0 评论 -
mapper和测试类的异常
java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for com.mybatis1.mapper.FlowerMapper.selectUserById 映射语句集合不包含com.mybatis1.mapper.flowermapper.selectuserbyid的值 ...转载 2019-09-27 14:13:24 · 342 阅读 · 0 评论 -
mybatis日志异常,控制台出错
控制台输出 log4j:WARN No appenders could be found for logger (org.apache.ibatis.logging.LogFactory) 编写一个log4j.properties文件 内容如下 # Global logging configuration log4j.rootLogger=DEBUG, stdout # Console outp...原创 2019-09-27 14:28:58 · 662 阅读 · 0 评论