I get the following hint in the latest IntelliJ Idea:
Not registered via @EnableConfigurationProperties or marked as Spring
component less... (Ctrl+F1)
Inspection info: Verifies @ConfigurationProperties setup. New in 2018.3
With the following configuration:
@Configuration
@ConfigurationProperties(prefix = "myapp.reference")
@EnableConfigurationProperties(MyAppFactoryConfiguration.class)
@Profile("dev")
public class MyAppLibraryConfigDev {
It goes away if I add @Component, but isn't @Configuration already an @Component?
Not sure what it means, anyone?