springboot的配置文件

server:
port: 7878
#配置数据库连接
spring:
datasource:
url: jdbc:mysql://localhost:3306/tmanager
driver-class-name: com.mysql.jdbc.Driver
username: root
password: root
type: com.alibaba.druid.pool.DruidDataSource
#配置mybatis
mybatis:
mapper-locations: com/ssm/app/dao/*.Mapper.xml
type-aliases-package: com.ssm.app.bean

posted @ 2018-10-09 11:30  心态良  Views(159)  Comments(1Edit  收藏  举报