diff --git a/README.md b/README.md
index a95f1eaa..70a75519 100644
--- a/README.md
+++ b/README.md
@@ -115,4 +115,14 @@ rabbitmqctl set_permissions --vhost /coal/test datacollector '' 'sysExchange|amq
```
D:\dev\gost-windows-amd64.exe -L=tcp://:5672/192.168.59.128:5672
-```
\ No newline at end of file
+```
+
+## 问题
+```
+
+(HTTP code 500) server error - Ports are not available: exposing port TCP 0.0.0.0:5672 -> 0.0.0.0:0: listen tcp 0.0.0.0:5672: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
+
+net stop hns
+net start hns
+
+```
diff --git a/pom.xml b/pom.xml
index 9320dad4..bf3db0bd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -430,14 +430,14 @@
-
- com.hazelcast
- hazelcast
-
-
- com.hazelcast
- hazelcast-spring
-
+
+
+
+
+
+
+
+
diff --git a/src/main/java/cn/lihongjie/coal/cacheCtl/service/CacheCtlService.java b/src/main/java/cn/lihongjie/coal/cacheCtl/service/CacheCtlService.java
index c597ec07..caa464f2 100644
--- a/src/main/java/cn/lihongjie/coal/cacheCtl/service/CacheCtlService.java
+++ b/src/main/java/cn/lihongjie/coal/cacheCtl/service/CacheCtlService.java
@@ -14,7 +14,7 @@ import cn.lihongjie.coal.spring.config.MultiLevelCache;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.base.Splitter;
-import com.hazelcast.spring.cache.HazelcastCache;
+//import com.hazelcast.spring.cache.HazelcastCache;
import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
@@ -147,18 +147,19 @@ public class CacheCtlService extends BaseService {
- CacheCtlDto dto = new CacheCtlDto(request.getId());
- dto.setId(request.getId());
- dto.setCacheKey(x.toString());
- return dto;
- })
- .collect(Collectors.toList());
}
+// else if (cache instanceof HazelcastCache hc){
+//
+// return hc.getNativeCache().keySet().stream()
+// .map(
+// x -> {
+// CacheCtlDto dto = new CacheCtlDto(request.getId());
+// dto.setId(request.getId());
+// dto.setCacheKey(x.toString());
+// return dto;
+// })
+// .collect(Collectors.toList());
+// }
else {
throw new BizException("不支持的缓存类型");
diff --git a/src/main/java/cn/lihongjie/coal/spring/config/CacheConfig.java b/src/main/java/cn/lihongjie/coal/spring/config/CacheConfig.java
index ee98a54a..8932a316 100644
--- a/src/main/java/cn/lihongjie/coal/spring/config/CacheConfig.java
+++ b/src/main/java/cn/lihongjie/coal/spring/config/CacheConfig.java
@@ -1,25 +1,18 @@
package cn.lihongjie.coal.spring.config;
-import cn.lihongjie.coal.common.ReflectUtils;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.redisson.api.*;
-import org.redisson.spring.cache.RedissonCache;
import org.redisson.spring.cache.RedissonSpringCacheManager;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import org.springframework.aop.MethodBeforeAdvice;
-import org.springframework.aop.framework.ProxyFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
-import org.springframework.cache.Cache;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
-import java.lang.reflect.Method;
-import java.lang.reflect.Proxy;
import java.util.HashMap;
import java.util.Map;
@@ -36,78 +29,9 @@ public class CacheConfig {
public RedissonSpringCacheManager redissonCacheManager() {
Map cacheConfigs = new HashMap<>();
- return new RedissonSpringCacheManager(redissonClient, cacheConfigs) {
-
- @Override
- protected RMap