一、下载插件spring
下载插件后重启:数据库
二、IDEA链接数据库apache
链接数据库成功:app
三、生成代码spring-boot
四、结果spa
五、须要导入的包插件
(1)@Param报错3d
<dependency> <groupId>org.apache.ibatis</groupId> <artifactId>ibatis-core</artifactId> <version>3.0</version> </dependency>
(2)spring-boot-starter-parent,书写以后能够省略掉依赖的版本号code
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.5.9.RELEASE</version> <type>pom</type> </dependency>