package scan

This commit is contained in:
vatsalgosar 2019-07-26 10:10:46 +05:30
parent aa0658c823
commit 78881a0a01
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ import org.springframework.boot.SpringBootConfiguration;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.ComponentScan;
@ComponentScan(basePackages = {"com.baeldung.springbootconfiguration"}) @ComponentScan(basePackages = {"com.baeldung.springbootconfiguration.*"})
@SpringBootConfiguration @SpringBootConfiguration
public class Application { public class Application {