使用Java项目搭建SpringBoot项目

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/Geek_U/article/details/84497741

使用Java项目搭建SpringBoot项目,并集成SpringMVC和Mybatis
一、配置文件(application.properties):

spring.datasource.driverClassName=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/edu?useUnicode=true&characterEncoding=utf-8&useSSL=false
spring.datasource.username=root
spring.datasource.password=123456
server.port=80
logging.level.com.springboot.controller=debug
logging.level.com.springboot.mapper=debug
logging.level.com.springboot.service.impl=debug
logging.path=log/log

二、目录结构

在这里插入图片描述
三、所有依赖的jar包(35个)
在这里插入图片描述
四、示例源码已上传到git仓库
https://github.com/GeekCracker/SpringBoot-In-Java-Project.git

猜你喜欢

转载自blog.csdn.net/Geek_U/article/details/84497741