Just configure the following code on the startup class
@Bean
public static PropertySourcesPlaceholderConfigurer placeholderConfigurer() {
PropertySourcesPlaceholderConfigurer placeholderConfigurer = new PropertySourcesPlaceholderConfigurer();
placeholderConfigurer.setIgnoreUnresolvablePlaceholders(true);
return placeholderConfigurer;
}
should be OK
Read More:
- Springboot startup error could not resolve placeholder XXX
- BUG——Could not resolve placeholder ‘xxx‘ in value ‘${xxx}‘
- Spring boot prompt could not resolve placeholder in string value
- Failed to load bundle…Unable to resolve module `xxx` from xxx: Module `xx` does not exist
- IllegalArgumentException: Could not resolve placeholder ‘‘ in value “${}“
- [unable to read project file xxxxx, XXX failed to load project file, name cannot start with “<" character (hex value 0x3c)] exception handling method
- Error: unable to resolve dependency for… Could not resolve project
- Java – read all the files and folders in a certain directory and three methods to get the file name from the file path
- Cannot read configuration file due to insufficient permissions
- Add a new springboot, and it will appear unable to read meta data for class when it is dependent
- Error in header file when calling OpenGL to open obj file in vs2013: unable to open include file: “GL / glut. H”: no such file or directories
- OpenGL configuration file, as well as unable to parse the file solution
- java.lang.IllegalStateException : unable to read meta data for class
- Solve the error of POM file failed to read artifact descriptor for XXX under IntelliJ idea
- @Value gets the configuration file value and returns null
- The @ Autowired annotation in springboot is invalid in ordinary classes. How to solve and use the null pointer exception java.lang.nullpointerexception
- Exception handling of httpmessage notwritableexception in springboot
- Error reading file cow.osg: read error (Could not find plugin to read objects from file “cow.osg“.)
- Bug: unable to download source code in idea, error cannot download sources sources not found for:XXX
- Unable to resolve sequelize package in C:\Users\