ssm
文章平均质量分 81
xcg纸飞机xcg
这个作者很懒,什么都没留下…
展开
-
springboot的那么一套
springboot 创建springboot: 原理初探 自动配置: pom.xml spring-boot-dependencies:核心依赖在父工程中! 我们在写或者引入一些Springboot以来的时候,不需要指定版本,就因为有这些版本仓库 启动器 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter&l原创 2022-02-22 21:35:49 · 2079 阅读 · 0 评论 -
Mybaits的简易版创建(依据原文档创建idea版)适合回顾查看,兼容萌新
Mybaits的简易版创建(依据原文档创建) 官方文档:文档地址 环境要求: jdk 1.8 idea 2018 maven mysql56 Mybaits的简易版创建Mybaits的简易版创建(依据原文档创建)步骤一:创建空的maven环境,next然后写入对应名称,再补全项目名称,最后finfish即可步骤二:引入有关的mybatis环境,在pom.xml中加入有关依赖步骤三:在resources文件夹下创建mybatis-config.xml、db.properties文件步骤四:创建mybati原创 2020-11-29 16:23:27 · 130 阅读 · 1 评论 -
Mybatis创建初学时遇到的几个常见错误
Mybatis常见错误 org.apache.ibatis.binding.BindingException: Type interface com.xv.dao.UserDao is not known to the MapperRegistry.(重点) 解释:没有注册mapper映射(mybatis-config.xml) 解决:去mybatis-config.xml进行注册 <mappers> <mapper resource="com/xv/dao/UserMapp原创 2020-11-29 14:28:44 · 186 阅读 · 0 评论