package org.baeldung.um.spring; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; @Configuration @ComponentScan({ "org.baeldung.um.service" }) public class UmServiceConfig { public UmServiceConfig() { super(); } // beans }