You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configuration properties scanning is now enabled by default within @SpringBootApplication. As a consequence, it strongly rejects @Component-annotated properties classes now. We need to adapt to that.
The text was updated successfully, but these errors were encountered:
…ion properties scanning in Boot 2.2.
Removed @component from configuration properties types as they're now scanned automatically and rejected if they carry @component. We now explicitly enable @ConfigurationPropertiesScan for the Salespoint configuration class to make sure Salespoint's application configuration classes are found in addition to the ones in the actual application package. Turned AuthenticationProperties into a value object as Boot doesn't need the no-args constructor and setters anymore.
Switched to @Modulithic + @SpringBootApplication over @modulith.
…ion properties scanning in Boot 2.2.
Removed @component from configuration properties types as they're now scanned automatically and rejected if they carry @component. We now explicitly enable @ConfigurationPropertiesScan for the Salespoint configuration class to make sure Salespoint's application configuration classes are found in addition to the ones in the actual application package. Turned AuthenticationProperties into a value object as Boot doesn't need the no-args constructor and setters anymore.
Switched to @Modulithic + @SpringBootApplication over @modulith.
Configuration properties scanning is now enabled by default within
@SpringBootApplication
. As a consequence, it strongly rejects@Component
-annotated properties classes now. We need to adapt to that.The text was updated successfully, but these errors were encountered: