mirror of
https://github.com/ktds-dg0501/kt-event-marketing.git
synced 2025-12-06 12:46:23 +00:00
런타임에러해결
This commit is contained in:
parent
9b10f915e3
commit
ab99a26211
@ -4,6 +4,7 @@ import org.springframework.boot.SpringApplication;
|
|||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
import org.springframework.boot.autoconfigure.domain.EntityScan;
|
import org.springframework.boot.autoconfigure.domain.EntityScan;
|
||||||
import org.springframework.cloud.openfeign.EnableFeignClients;
|
import org.springframework.cloud.openfeign.EnableFeignClients;
|
||||||
|
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
|
||||||
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
|
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
|
||||||
import org.springframework.kafka.annotation.EnableKafka;
|
import org.springframework.kafka.annotation.EnableKafka;
|
||||||
|
|
||||||
@ -15,6 +16,7 @@ import org.springframework.kafka.annotation.EnableKafka;
|
|||||||
@SpringBootApplication(scanBasePackages = {"com.kt.event.analytics", "com.kt.event.common"})
|
@SpringBootApplication(scanBasePackages = {"com.kt.event.analytics", "com.kt.event.common"})
|
||||||
@EntityScan(basePackages = {"com.kt.event.analytics.entity", "com.kt.event.common.entity"})
|
@EntityScan(basePackages = {"com.kt.event.analytics.entity", "com.kt.event.common.entity"})
|
||||||
@EnableJpaRepositories(basePackages = "com.kt.event.analytics.repository")
|
@EnableJpaRepositories(basePackages = "com.kt.event.analytics.repository")
|
||||||
|
@EnableJpaAuditing
|
||||||
@EnableFeignClients
|
@EnableFeignClients
|
||||||
@EnableKafka
|
@EnableKafka
|
||||||
public class AnalyticsServiceApplication {
|
public class AnalyticsServiceApplication {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user