An exception was reported during startup. Consider defining a bean of type'xxx' in your configuration.
Exception reason: @Component is not added, resulting in not being detected
Solution: add [@Component] annotation to the class
As shown:
An exception was reported during startup. Consider defining a bean of type'xxx' in your configuration.
Exception reason: @Component is not added, resulting in not being detected
Solution: add [@Component] annotation to the class
As shown: