Closed Anymous526 closed 6 months ago
@Anymous526 shared-configs
Is this property a configuration item in nacos config?
if so, Can you provide an example?
@Anymous526 Can you delete the extra files in it? Can you keep only the smallest unit that reproduces the problem?
You can also provide demos in the form of github repository addresses.
For Spring Boot 2.4 and above, we recommend using spring.config.import
, for example:
spring:
config:
import:
- nacos:nacos-config-example.properties?refresh=true
好像已经搞定了。
好像已经搞定了。
Congratulation!
For Spring Boot 2.4 and above, we recommend using
spring.config.import
, for example:spring: config: import: - nacos:nacos-config-example.properties?refresh=true
正确的操作。