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
2022-03-24
.nodeName只不過是取節點的名稱的,不會改變節點吧。我也覺得應該是ponunload="onunload_message()"==window.onunload=onunload_message;
2017-04-10
好的。
2017-03-31
看圖 ?shou-sql 那兒有空格