What to do if you get a No qualifying bean of type error.
It has been confirmed that @Component etc. are firmly attached
What you should check here is the structure of the file. In Spring boot, read the classes under it from the class with @ComponentScan or @SpringBootApplication annotation.
In other words, the class with the @Component annotation must be placed in the same package as the class with the @ComponentScan or @SpringBootApplication annotation.
Is that so~
Thank you very much Causes and countermeasures when No qualifying bean of type appears in Spring Boot