随笔分类 -  yml配置

摘要:spring: # 数据源配置 datasource: type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://127.0.0.1:3306/ 阅读全文
posted @ 2023-03-09 11:47 千里兮兮 阅读(26) 评论(0) 推荐(0) 编辑
摘要:#实现热部署的配置devtools: restart: enabled: true #设置重启的目录 additional-paths: src/main/java #防止项目重新编译后启动报404的问题 poll-interval: 3000 quiet-period: 1000cache: eh 阅读全文
posted @ 2023-03-09 11:47 千里兮兮 阅读(32) 评论(0) 推荐(0) 编辑
摘要:# 开启Knife4j增强模式knife4j: enable: true 阅读全文
posted @ 2023-03-09 11:46 千里兮兮 阅读(85) 评论(0) 推荐(0) 编辑
摘要:logging: level: com: example: spring_mybatis: trace 阅读全文
posted @ 2023-03-09 11:45 千里兮兮 阅读(5) 评论(0) 推荐(0) 编辑
摘要:server: port: 8080mybatis: # #标注mybatis配置文件的位置 # config-location: classpath:mybatis-config.xml #标注待解析的mapper的xml文件位置 mapper-locations: classpath:mappe 阅读全文
posted @ 2023-03-09 11:45 千里兮兮 阅读(9) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示