Skip to content

Commit 56b756e

Browse files
committed
Fixed startup bugs
1 parent ac7b629 commit 56b756e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

service/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<plugin>
4343
<artifactId>spring-boot-maven-plugin</artifactId>
4444
<configuration>
45-
<mainClass>com.business.manager.service.ManagementServiceApplication</mainClass>
45+
<mainClass>com.business.manager.service.ServiceApplication</mainClass>
4646
</configuration>
4747
<executions>
4848
<execution>
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
@SpringBootApplication(scanBasePackages = "com.business.manager.*")
1414
@ComponentScan(basePackages = {"com.business.manager.*"})
1515
@EntityScan(basePackages = {"com.business.manager.*"})
16-
@EnableJpaRepositories(basePackages = {"com.business.manager.*"})
16+
@EnableJpaRepositories(basePackages = {"com.business.manager.repository.*"})
1717
@EnableConfigurationProperties(AppProperties.class)
18-
public class ManagementServiceApplication {
18+
public class ServiceApplication {
1919

2020
public static void main(String[] args) {
2121
try {
22-
SpringApplication.run(ManagementServiceApplication.class, args);
22+
SpringApplication.run(ServiceApplication.class, args);
2323
} catch (Exception e) {
2424
e.printStackTrace();
2525
log.error("Exception while launching the instance", e);

0 commit comments

Comments
 (0)