package Ġnet . th iki . rest . sample Ċ Ċ import Ġorg . springframework . boot . autoconfigure . Enable Auto Configuration Ċ import Ġorg . springframework . boot . run Application Ċ import Ġorg . springframework . context . annotation . Component Scan Ċ import Ġorg . springframework . context . annotation . Filter Type Ċ Ċ @ Enable Auto Configuration Ċ @ Component Scan ( Ċ // ĠĠĠĠĠĠĠ Ġbase Packages Ġ= Ġ[" net . th iki . rest . sample "], ĊĠĠĠĠĠĠĠ Ġexclude Filters Ġ= Ġ[ Component Scan . Filter ( type Ġ= ĠFilter Type . ASSIGN ABLE _ TYPE , Ġclasses Ġ= Ġ[ Demo Application :: class ])] Ċ ) ĊĊ Ċ open Ġclass ĠDemo Application 4 Test Ġ{ ĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġ@ Jvm Static Ġfun Ġmain ( args : ĠArray < String >) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġrun Application < Demo Application 4 Test >(* args ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }