Open jbcbezerra opened 1 year ago
Same thing :(
Hi all , @sployad @jbcbezerra I don't know how you are using the service, but consider to put an annotation like @Component. This way the application notices that this service exists.
Regards!
Same thing :(
@Silvisgg
can you give me a full demo
ComponentScan actually did the job for me
@SpringBootApplication
@ComponentScan({"com.jlefebure.spring.boot.minio.*"})
public class TestApplication {
public static void main(String[] args) {
SpringApplication.run(TestApplication.class, args);
}
}
When i am trying to run your example
Spring does not start cause it cant find the Bean MinioService.