런타임에러해결

This commit is contained in:
Hyowon Yang 2025-10-24 10:43:05 +09:00
parent 9b10f915e3
commit ab99a26211

View File

@ -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 {