package com.example.sample import org.mybatis.spring.annotation.MapperScan import org.springframework.boot.SpringApplication import org.springframework.boot.autoconfigure.SpringBootApplication import org.springframework.context.annotation.ComponentScan @SpringBootApplication @ComponentScan("com.example.sample") @MapperScan("mapper.com.example.sample") class SpringSampleApplication fun main(args: Array<String>) { SpringApplication.run(SpringSampleApplication::class.java, *args) }