java小王博客

记录菜B的一点一滴,欢迎各位好汉前来叨扰!


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>博主qq:1756691861

springboot .yml文件的配置

2020-5-31 卑微小王 SpringBoot

server: port: 8080 spring: #数据库连接配置  datasource: driver-class-name: com.mysql.cj.jdbc.Driver  url: jdbc:mysql://127.0.0.1:3306/ceshi?useSSL=false&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&serverTimezone=GMT username: root password: 123456 #静态资源  resources: static-locations: classpath:/static/ #mybatis的相关配置 mybatis: #mapper配置文件  mapper-locations: classpath:mapper/*.xml type-aliases-package: com.example.demo.entity #开启驼峰命名  configuration: map-underscore-to-camel-case: true 

发表评论: