yml链接数据库
spring:
profiles:
active: dev
datasource:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/demogirl
name: root
password: 123456
jpa:
hibernate:
ddl-auto: update
show-sql: true
这个配置文件哪里出错了
报这个错误 映射出错
org.yaml.snakeyaml.parser.ParserException: while parsing a block mapping
in 'reader', line 10, column 8:
hibernate:
^
expected <block end>, but found BlockMappingStart
in 'reader', line 12, column 9:
show-sql: true