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
Describe the bug i use 1.4.3,conf as : spring: application: name: example cloud: nacos: config: file-extension: yaml server-addr: 127.0.0.1:8848
my code : `@RestController @RequestMapping("/config") @RefreshScope public class ConfigController {
@Value("${flag}") private boolean flag; /** * http://localhost:8080/config/get */ @RequestMapping("/get") public boolean get() { return flag; }
}`
Expected behavior it`s should be ini.
Acutally behavior new it`s :java.lang.IllegalArgumentException: Could not resolve placeholder 'flag' in value "${flag}"
The text was updated successfully, but these errors were encountered:
please provide ${user.home}/logs/nacos/config.log
or move issue to Spring cloud aliabab community
Sorry, something went wrong.
No branches or pull requests
Describe the bug
i use 1.4.3,conf as :
spring:
application:
name: example
cloud:
nacos:
config:
file-extension: yaml
server-addr: 127.0.0.1:8848
my code :
`@RestController
@RequestMapping("/config")
@RefreshScope
public class ConfigController {
}`
Expected behavior
it`s should be ini.
Acutally behavior
new it`s :java.lang.IllegalArgumentException: Could not resolve placeholder 'flag' in value "${flag}"
The text was updated successfully, but these errors were encountered: