会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
笨拙的向前
博客园
首页
新随笔
联系
订阅
管理
2023年3月10日
报错:Invalid bound statement (not found): com.xxx.mapper.xxx 解决方案
摘要: 注意XML的namespace配置注意XML的namespace配置,要精确到Mapper接口
阅读全文
posted @ 2023-03-10 13:37 笨拙的向前
阅读(165)
评论(0)
推荐(0)
2023年3月9日
SpringBoot使用Mybatis-plus 报错:‘sqlSessionFactory‘ or ‘sqlSessionTemplate‘不自动注入
摘要: 查看pom.xml中mybatis-plus配置 <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatisplus-spring-boot-starter</artifactId> <version>1.0.5</version
阅读全文
posted @ 2023-03-09 15:47 笨拙的向前
阅读(1077)
评论(0)
推荐(0)
Springboot下载依赖速度慢
摘要: 原因:maven默认使用国外远程仓库来加载依赖,导致下载速度过慢甚至失败。 解决方案:使用阿里云镜像。 在setting.xml中添加: <mirrors> <mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.
阅读全文
posted @ 2023-03-09 14:34 笨拙的向前
阅读(1066)
评论(0)
推荐(0)
2023年3月8日
SpringBoot整合MyBatis配置总结
摘要: application.yml配置 spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://127.0.0.1:3306/db1?serverTimezone=GMT%2B8 username
阅读全文
posted @ 2023-03-08 23:09 笨拙的向前
阅读(53)
评论(0)
推荐(0)
公告