Inspectopedia Help

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.

Settings or Preferences | Editor | Inspections | Spring | Spring Boot

Availability

By default bundled with

IntelliJ IDEA 2024.1, Qodana for JVM 2024.1,

Can be installed with plugin

Spring Boot, 241.18072

Last modified: 18 June 2024