How to migrate existing Spring project to Spring Boot
Problem solved: I fixed the dependency issues. Should use,
@Configuration@EnableAutoConfiguration@ComponentScan@Import(Config.class)
instead @SpringBootApplication
annotation.
Now the application is getting booted, but cannot find config file which is another story.