![](https://img-blog.csdnimg.cn/20190606160033559.jpeg?x-oss-process=image/resize,m_fixed,h_224,w_224)
Spring Boot工程学习使用心得
一个简单的SpringBoot使用案例
开发者联盟league
这个作者很懒,什么都没留下…
展开
-
Spring Boot工程案例(二) - 连接Mysql数据库
首先,在pom.xml中添加对mysql mybatis的依赖 <!-- mybatis --> <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> &...原创 2019-06-06 16:13:27 · 188 阅读 · 0 评论 -
Spring Boot工程案例
首先创建maven工程,工程名springboot-demo <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 htt...原创 2019-06-06 15:56:53 · 209 阅读 · 0 评论 -
SpringBoot工程Junit测试类案例2 - 模拟http请求
import java.util.HashMap; import java.util.Map; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import...原创 2018-12-20 14:36:10 · 500 阅读 · 0 评论