
springboot创建ssm项目
nanfang1012
这个作者很懒,什么都没留下…
展开
-
eclispe构建maven多模块springboot项目(一)
首先,我们使用创建一个maven简单工程ssm.parent,只留下pom.xml文件,编辑pom.xml,添加springboot的依赖,如下<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaL...原创 2018-09-18 09:59:15 · 1084 阅读 · 0 评论 -
springboot结合druid (二)
在application.yml中,我们添加DataSource的配置,如下:spring: datasource: driver-class-name: com.mysql.jdbc.Driver url: jdbc:mysql://localhost:3306/xxxxxxxx?useUnicode=true&characterEncoding=utf8&am...原创 2018-09-18 11:42:42 · 251 阅读 · 0 评论 -
springboot结合mybatis(三)
首先在ssm.parent中pom.xml引入mybatis的依赖: <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version&...原创 2018-09-18 17:15:16 · 127 阅读 · 0 评论