package com.timeline.file; import com.timeline.file.config.MinioConfig; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.ComponentScan; @SpringBootApplication @ComponentScan({"com.timeline", "com.timeline.file"}) @EnableConfigurationProperties(MinioConfig.class) public class TimelineFileServiceApplication { public static void main(String[] args) { SpringApplication.run(TimelineFileServiceApplication.class, args); } }