diff --git a/core/src/main/java/com/alibaba/nacos/core/code/SpringApplicationRunListener.java b/core/src/main/java/com/alibaba/nacos/core/code/SpringApplicationRunListener.java
index 43b1477b2..3261135e6 100644
--- a/core/src/main/java/com/alibaba/nacos/core/code/SpringApplicationRunListener.java
+++ b/core/src/main/java/com/alibaba/nacos/core/code/SpringApplicationRunListener.java
@@ -19,6 +19,7 @@ package com.alibaba.nacos.core.code;
import com.alibaba.nacos.core.listener.LoggingApplicationListener;
import com.alibaba.nacos.core.listener.NacosApplicationListener;
import com.alibaba.nacos.core.listener.StartingApplicationListener;
+import org.springframework.boot.ConfigurableBootstrapContext;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.context.event.EventPublishingRunListener;
import org.springframework.context.ConfigurableApplicationContext;
@@ -53,14 +54,15 @@ public class SpringApplicationRunListener implements org.springframework.boot.Sp
}
@Override
- public void starting() {
+ public void starting(ConfigurableBootstrapContext bootstrapContext) {
for (NacosApplicationListener nacosApplicationListener : nacosApplicationListeners) {
nacosApplicationListener.starting();
}
}
@Override
- public void environmentPrepared(ConfigurableEnvironment environment) {
+ public void environmentPrepared(ConfigurableBootstrapContext bootstrapContext,
+ ConfigurableEnvironment environment) {
for (NacosApplicationListener nacosApplicationListener : nacosApplicationListeners) {
nacosApplicationListener.environmentPrepared(environment);
}
diff --git a/pom.xml b/pom.xml
index 811d42d3a..8f50e2f82 100644
--- a/pom.xml
+++ b/pom.xml
@@ -125,7 +125,7 @@
1.3.0
- 2.1.17.RELEASE
+ 2.6.6
3.0
2.7
3.2.2