diff --git a/launchers/common/src/main/java/com/tencent/supersonic/config/RestTemplateConfig.java b/launchers/common/src/main/java/com/tencent/supersonic/config/RestTemplateConfig.java
index 456610db2..8b96255ac 100644
--- a/launchers/common/src/main/java/com/tencent/supersonic/config/RestTemplateConfig.java
+++ b/launchers/common/src/main/java/com/tencent/supersonic/config/RestTemplateConfig.java
@@ -2,8 +2,7 @@ package com.tencent.supersonic.config;
-import org.apache.hc.client5.http.impl.DefaultRedirectStrategy;
-//import org.apache.hc.client5.http.impl.LaxRedirectStrategy;
+import org.apache.hc.client5.http.impl.LaxRedirectStrategy;
import org.apache.hc.client5.http.impl.classic.CloseableHttpClient;
import org.apache.hc.client5.http.impl.classic.HttpClientBuilder;
import org.springframework.context.annotation.Bean;
@@ -22,8 +21,8 @@ public class RestTemplateConfig {
// HttpClient 5 较新版本才会有LaxRedirectStrategy, 所以我重新定义了
CloseableHttpClient httpClient =
- HttpClientBuilder.create().setRedirectStrategy(new DefaultRedirectStrategy()) // 使用宽松重定向策略
- //HttpClientBuilder.create().setRedirectStrategy(new LaxRedirectStrategy()) // 使用宽松重定向策略
+ //HttpClientBuilder.create().setRedirectStrategy(new DefaultRedirectStrategy()) // 使用宽松重定向策略
+ HttpClientBuilder.create().setRedirectStrategy(new LaxRedirectStrategy()) // 使用宽松重定向策略
.build();
HttpComponentsClientHttpRequestFactory httpRequestFactory =
diff --git a/pom.xml b/pom.xml
index 4c0241bad..049b0d5b3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,9 +48,9 @@
1.2.3
5.1.46
3.5.7
-
-
-
+ 5.4.1
+
+ 5.3.1
0.4.6
2.0.40
7.0.0