We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Which Component Nacos config & discovery.
Describe the bug 原使用版本2023.0.1.2,一切正常。 升级到2023.0.3.2之后,应用启动失败,无法加载配置文件。
Additional context 使用的配置文件如下: project: name: @project.name@ version: @project.version@
spring: application: name: ${project.name} cloud: nacos: server-addr: ${NACOS_SERVER} username: ${NACOS_USERNAME} password: ${NACOS_PASSWORD} config: namespace: ${NACOS_NAMESPACE} file-extension: yaml discovery: namespace: ${spring.cloud.nacos.config.namespace} service: ${spring.application.name} ip: ${APP_HOST:} SCA在国内也算是广泛应用的组件了,不知道这次升级为何如此鲁莽。 存量项目不知道有多少,原有的配置格式也没啥大问题,也挺好的,为什么突然搞这么一出?
The text was updated successfully, but these errors were encountered:
配置中心需要使用spring.config.import方式引入,2023.0.1.2有默认值,2023.0.1.3之后需要使用spring.config.import指定。
spring.config.import
Sorry, something went wrong.
为什么在配置文件格式上不向上兼容呢? 如果非要修改配置文件格式,建议:
This issue has been open 30 days with no activity. This will be closed in 7 days.
No branches or pull requests
Which Component
Nacos config & discovery.
Describe the bug
原使用版本2023.0.1.2,一切正常。
升级到2023.0.3.2之后,应用启动失败,无法加载配置文件。
Additional context
使用的配置文件如下:
project:
name: @project.name@
version: @project.version@
spring:
application:
name: ${project.name}
cloud:
nacos:
server-addr: ${NACOS_SERVER}
username: ${NACOS_USERNAME}
password: ${NACOS_PASSWORD}
config:
namespace: ${NACOS_NAMESPACE}
file-extension: yaml
discovery:
namespace: ${spring.cloud.nacos.config.namespace}
service: ${spring.application.name}
ip: ${APP_HOST:}
SCA在国内也算是广泛应用的组件了,不知道这次升级为何如此鲁莽。
存量项目不知道有多少,原有的配置格式也没啥大问题,也挺好的,为什么突然搞这么一出?
The text was updated successfully, but these errors were encountered: