Add all layers.
This commit is contained in:
@@ -5,7 +5,12 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
|
||||
@SpringBootApplication
|
||||
@ComponentScan(basePackages = "org.sportshub.exposition")
|
||||
@ComponentScan(basePackages = {
|
||||
"org.sportshub.exposition",
|
||||
"org.sportshub.application",
|
||||
"org.sportshub.domain",
|
||||
"org.sportshub.infrastructure"
|
||||
})
|
||||
public class ApplicationLauncher {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(ApplicationLauncher.class, args);
|
||||
|
||||
Reference in New Issue
Block a user