diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5bc4f471a..e39577d6d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,3 +14,5 @@
- [refactor:let the configuration SDK context stand alone.](https://github.com/Tencent/spring-cloud-tencent/pull/1344)
- [fix: fix lossless deregister failed when no healthcheck configured](https://github.com/Tencent/spring-cloud-tencent/pull/1345)
- [feat:add zero protection.](https://github.com/Tencent/spring-cloud-tencent/pull/1346)
+- [fix:fix no registry when lossless is disabled.](https://github.com/Tencent/spring-cloud-tencent/pull/1347)
+
diff --git a/pom.xml b/pom.xml
index 9039f99fd..7cebf2d17 100644
--- a/pom.xml
+++ b/pom.xml
@@ -103,7 +103,7 @@
0.8.12
3.2.0
- 1.2.7
+ 1.3.0
3.0.1
3.4.1
diff --git a/spring-cloud-tencent-dependencies/pom.xml b/spring-cloud-tencent-dependencies/pom.xml
index 47785bd9f..9d99c9342 100644
--- a/spring-cloud-tencent-dependencies/pom.xml
+++ b/spring-cloud-tencent-dependencies/pom.xml
@@ -74,7 +74,7 @@
1.14.0-2021.0.9-SNAPSHOT
- 1.15.5-SNAPSHOT
+ 1.15.6
32.0.1-jre
@@ -85,12 +85,13 @@
1.12.10
2.13.5
3.21.7
+ 3.0.0
2.0.2
3.3.0
3.2.0
- 1.2.7
+ 1.3.0
3.0.1
diff --git a/spring-cloud-tencent-plugin-starters/spring-cloud-tencent-lossless-plugin/src/main/java/com/tencent/cloud/plugin/lossless/LosslessRegistryAspect.java b/spring-cloud-tencent-plugin-starters/spring-cloud-tencent-lossless-plugin/src/main/java/com/tencent/cloud/plugin/lossless/LosslessRegistryAspect.java
index c9af94576..9dab0f243 100644
--- a/spring-cloud-tencent-plugin-starters/spring-cloud-tencent-lossless-plugin/src/main/java/com/tencent/cloud/plugin/lossless/LosslessRegistryAspect.java
+++ b/spring-cloud-tencent-plugin-starters/spring-cloud-tencent-lossless-plugin/src/main/java/com/tencent/cloud/plugin/lossless/LosslessRegistryAspect.java
@@ -73,6 +73,9 @@ public void deregisterPointcut() {
@Around("registerPointcut()")
public Object invokeRegister(ProceedingJoinPoint joinPoint) throws Throwable {
+ if (!losslessProperties.isEnabled()) {
+ return joinPoint.proceed();
+ }
// web started, get port from registration
BaseInstance instance = SpringCloudLosslessActionProvider.getBaseInstance(registration, registrationTransformer);