SpringBoot 2.1.1.RELEASE 整合MyBatis
SpringBoot 2.1.1.RELEASE 整合MyBatis
maven工程:
詳細配置見:
pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="" xmlns:xsi=""
xsi:schemaLocation=" ">;
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.1.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>cn.qchcloud</groupId>
<artifactId>iot</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>iot</name>
<description>iot project for Spring Boot</description>
<properties>
<java.version>1.8</java.version>
<mybatis.spring.boot.starter.version>1.3.2</mybatis.spring.boot.starter.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>${mybatis.spring.boot.starter.version}</version>
</dependency>
<dependency>
<groupId>com.google.collections</groupId>
<artifactId>google-collections</artifactId>
<version>1.0-rc2</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
©著作權歸作者所有:來自51CTO部落格作者qchcloud的原創作品,如需轉載,請註明出處,否則將追究法律責任
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/430/viewspace-2819477/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Springboot整合MybatisSpring BootMyBatis
- springBoot 整合 mybatisSpring BootMyBatis
- SpringBoot | 3.2 整合MyBatisSpring BootMyBatis
- Springboot+mybatis 整合Spring BootMyBatis
- springboot+mybatis整合Spring BootMyBatis
- SpringBoot整合系列–整合MyBatis-plusSpring BootMyBatis
- springBoot 整合 mybatis+OracleSpring BootMyBatisOracle
- SpringBoot整合Mybatis-PlusSpring BootMyBatis
- springboot專案整合mybatisSpring BootMyBatis
- SpringBoot整合Mybatis+DruidSpring BootMyBatisUI
- springboot-整合mybatis,securitySpring BootMyBatis
- SpringBoot整合Mybatis-Plus(SpringBoot3)Spring BootMyBatis
- 企業 SpringBoot 教程(六)springboot整合mybatisSpring BootMyBatis
- SpringBoot學習之整合MybatisSpring BootMyBatis
- SpringBoot、MyBatis、Shiro、Thymeleaf整合思路Spring BootMyBatis
- springboot整合mybatis及其反向工程Spring BootMyBatis
- SpringBoot | 3.3 整合MyBatis-PlusSpring BootMyBatis
- SpringBoot 實戰 (九) | 整合 MybatisSpring BootMyBatis
- Mybatis 的使用(整合Spring、SpringBoot)MyBatisSpring Boot
- SpringBoot資料訪問(一) SpringBoot整合MybatisSpring BootMyBatis
- 【springboot】學習4:整合JDBC、整合druid、整合mybatis、整合 SpringSecuritySpring BootJDBCUIMyBatisGse
- SpringBoot整合Mybatis超詳細流程Spring BootMyBatis
- springboot整合mybatis自動生成框架Spring BootMyBatis框架
- SpringBoot第五篇:整合MybatisSpring BootMyBatis
- springboot整合mybatis增刪改查(三):mybatis逆向工程Spring BootMyBatis
- SpringBoot2.0應用(五):SpringBoot2.0整合MyBatisSpring BootMyBatis
- 基於 SpringBoot2.0+優雅整合 SpringBoot+MybatisSpring BootMyBatis
- 基於SpringBoot2.0+優雅整合SpringBoot+MybatisSpring BootMyBatis
- SpringBoot + Mybatis + Redis 整合入門專案Spring BootMyBatisRedis
- SpringBoot系列——MyBatis-Plus整合封裝Spring BootMyBatis封裝
- SpringBoot 整合Mybatis + PageHelper 實現分頁Spring BootMyBatis
- 最簡單的SpringBoot整合MyBatis教程Spring BootMyBatis
- SpringBoot 實戰 (十三) | 整合 MyBatis (XML 版)Spring BootMyBatisXML
- mybatis plus +springboot +jsp整合踩坑指南MyBatisSpring BootJS
- Springboot整合mybatis框架(含例項Demo)Spring BootMyBatis框架
- springboot之Druid連線池講解+mybatis整合+PageHelper整合Spring BootUIMyBatis
- 記錄springboot 3.3.5 版本整合 mybatis-plusSpring BootMyBatis
- SpringBoot 整合多資料來源(MyBatis + Druid)Spring BootMyBatisUI