Exception encountered during context initialization – cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘scopedTarget.configController’: Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder ‘custom.property.hello’ in value “${custom.property.hello}”
The JsonProperySourceLocator class in the spring cloud config source code swap is wrongly written to get the value
Modify get value to get key
The JsonProperySourceLocator class in the spring cloud config source code swap is wrongly written to get the value
Modify get value to get key
Similar Posts:
- [transfer] could not resolve placeholder solution
- Property ‘dataSource’ threw exception; nested exception is java.lang.NoClassDefFoundError: org/springframework/jdbc/datasource/TransactionAwareDataSourceProxy
- [Solved] Error creating bean with name ‘transactionManager’ defined in class path resource [spring-dao.xml]
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘configurationPropertiesBeans’ defined in class path resource
- [Solved] Import AOP Error: error at ::0 formal unbound in pointcut
- [Solved] Spring Boot Error: “jdbcUrl is required with driverClassName.”
- [Solved] Context initialization failed: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name ‘dataSource’ defined in URL…
- Spring cloud consumer feign injection error [How to Solve]
- [Solved] Context initialization failed: org.springframework.beans.factory.BeanDefinitionStoreException
- How to Solve the login error of Spring + Shiro CacheManager