在pom.xml中加入依赖
org.springframework.boot
spring-boot-starter-actuator
application.yml配置如下server: port: 8080 spring: jpa: show-sql: true generate-ddl: false hibernate: ddl-auto: none datasource: platform: h2 schema: classpath:schema.sql data: classpath:data.sql logging: level: root: INFO org.hibernate: INFO org.hibernate.type.descriptor.sql.BasicBinder: TRACE org.hibernate.type.descriptor.sql.BasicExtractor: TRACE info: app: name: TestBoot java: resource: 1.8 target: 1.8 contact: phone: 187* email: 286*@qq.com
maven的监控
最新推荐文章于 2022-03-07 21:36:55 发布