diff --git a/spring-boot-project/spring-boot-dependencies/pom.xml b/spring-boot-project/spring-boot-dependencies/pom.xml
index 8868b75aaa..5955482a7c 100644
--- a/spring-boot-project/spring-boot-dependencies/pom.xml
+++ b/spring-boot-project/spring-boot-dependencies/pom.xml
@@ -152,7 +152,7 @@
4.2.1
4.0.1
1.7.25
- 1.21
+ 1.23
7.4.0
5.1.0.BUILD-SNAPSHOT
2.1.0.M2
diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/env/OriginTrackedYamlLoader.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/env/OriginTrackedYamlLoader.java
index 9132e0e19d..8302091000 100644
--- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/env/OriginTrackedYamlLoader.java
+++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/env/OriginTrackedYamlLoader.java
@@ -124,7 +124,7 @@ class OriginTrackedYamlLoader extends YamlProcessor {
KeyScalarNode(ScalarNode node) {
super(node.getTag(), node.getValue(), node.getStartMark(), node.getEndMark(),
- node.getStyle());
+ node.getScalarStyle());
}
public static NodeTuple get(NodeTuple nodeTuple) {