package scan
This commit is contained in:
parent
aa0658c823
commit
78881a0a01
|
@ -5,7 +5,7 @@ import org.springframework.boot.SpringBootConfiguration;
|
|||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
|
||||
@ComponentScan(basePackages = {"com.baeldung.springbootconfiguration"})
|
||||
@ComponentScan(basePackages = {"com.baeldung.springbootconfiguration.*"})
|
||||
@SpringBootConfiguration
|
||||
public class Application {
|
||||
|
||||
|
|
Loading…
Reference in New Issue