Skip to content

Commit

Permalink
Fix SpringBoot scan package (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan-WorkGH authored May 30, 2024
1 parent 94b2801 commit cbef7e3
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,14 @@
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;

/**
* @author Jon Harper <jon.harper at rte-france.com>
* @author Franck Lecuyer <franck.lecuyer at rte-france.com>
*/
@SuppressWarnings("checkstyle:HideUtilityClassConstructor")
@SpringBootApplication
@ComponentScan(basePackageClasses = {MergeOrchestratorApplication.class, NetworkStoreService.class})
@SpringBootApplication(scanBasePackageClasses = { MergeOrchestratorApplication.class, NetworkStoreService.class })
public class MergeOrchestratorApplication {

public static void main(String[] args) {
Utils.initProperties();
SpringApplication.run(MergeOrchestratorApplication.class, args);
Expand Down

0 comments on commit cbef7e3

Please sign in to comment.