-
老项目是纯spingboot项目(未引入任何springcloud组件或依赖),现在需要改造配置文件,接入nacos配置中心,原有的配置是放在yml配置文件中的,使用@Value和@ConfigurationProperties引入配置到代码中,分散在不同地方,之前尝试将@Value改成@NacosValue(autoRefreshed = true,value = "${xxxxx}")后可以实…
-
gateway POM文件 加入
com.github.xiaoymin
knife4j-gateway-spring-boot-starter
版本是 4.4.0
gateway启动没问题 访问 进去访问 开始 404
![企业微信截图_17070544598937](https://…
-
### 当前使用版本(必填,否则不予处理)
版本:3.4.0
### 该问题是如何引起的?(确定最新版也有问题再提!!!)
集群服务器通过雪花算法同时创建ID出现重复
### 重现步骤(如果有就写完整)
在centos服务器中,Sequence.getDatacenterId();方法中的“InetAddress ip = InetAddress.getLocalHost…
-
With Spring Cloud Config, it is possible to have shared configuration. See: http://cloud.spring.io/spring-cloud-static/spring-cloud-config/1.3.3.RELEASE/single/spring-cloud-config.html#_sharing_config…
-
This is my running environment:
2.3.7.RELEASE
2.2.6.RELEASE
Hoxton.SR9
When I started the service, I found the following error log. What is the reason??
```
2021-11-09 17:50:15.903 service-p…
-
Currently there is no sense of order in the list. Would love to see if listed by category :+1:
-
My project uses 3.0.5 jasypt-spring-boot-starter and spring cloud alibaba 2022.0.0.0. After encrypting the nacos password, the nacos configuration cannot be obtained when the project is started. Now t…
-
nacos版本:2.1.0
集群节点数:4个
服务器配置(aws-ec2):8核16G
JVM参数:-Xms4g -Xmx4g -XX:+UseG1GC,其他参数默认
问题补充:nacos宕机时,服务器CPU/内存/磁盘都是健康状态,nacos日志也未找到对应error信息,重启后服务又正常
![image](https://github.com/alibaba/nacos/asse…
-
我的spring应用配置是这样的:
------------------------------------------------------------------
spring:
application:
name: ${spt.app.service.serve-code}-${spt.app.service.serve-version}
profiles:
…
-
**Version of the framework**
SpringBoot 3.2.7
SpringCloud 2023.0.2 (BOM)
Spring Cloud Stream: 4.1.2
GraalVM: CE 21.0.2+13.1 (build 21.0.2+13-jvmci-23.1-b30)
**Describe the issue**
I've got a m…