Invalid additional-spring-configuration-metadata.json
Reports missing and deprecated properties, unresolved references, and invalid values in the additional-spring-configuration-metadata.json
configuration file.
Example:
{
"properties": [
{
"name": "old.key",
"type": "com.Unknown", // Reports 'Cannot resolve class 'Unknown''
"description": "Description for old.key", // Reports 'Text should end with '.''
"deprecation": {
"replacement": "new.key", // Reports 'Cannot resolve configuration key reference 'new.key''
"reason": "Reason", // Reports 'Text should end with '.''
"level": "warning"
}
},
{
"name": "duplicate", // Reports 'Duplicate entry for 'duplicate''
"type": "java.lang.String"
},
{
"name": "duplicate", // Reports 'Duplicate entry for 'duplicate''
"type": "java.lang.String"
},
{
// Reports 'Missing required 'name''
"type": "java.lang.String"
}
]
}
Locating this inspection
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
SpringBootAdditionalConfig- Via Settings dialog
Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Spring Boot, 242.22892 |
Last modified: 11 September 2024