diff --git a/pre-registration/pre-registration-application-service/src/main/java/io/mosip/preregistration/application/PreRegistrationApplication.java b/pre-registration/pre-registration-application-service/src/main/java/io/mosip/preregistration/application/PreRegistrationApplication.java index aea6c291fa..8bcd5a4494 100644 --- a/pre-registration/pre-registration-application-service/src/main/java/io/mosip/preregistration/application/PreRegistrationApplication.java +++ b/pre-registration/pre-registration-application-service/src/main/java/io/mosip/preregistration/application/PreRegistrationApplication.java @@ -8,7 +8,7 @@ import org.springframework.context.annotation.FilterType; @EnableCaching -@SpringBootApplication(exclude = CloudFoundryVcapEnvironmentPostProcessor.class) +@SpringBootApplication @ComponentScan(basePackages = { "io.mosip.*", "${mosip.lang.traslate.adapter.impl.basepackage}" }, excludeFilters = { @ComponentScan.Filter(type = FilterType.REGEX, pattern = { "io\\.mosip\\.kernel\\.keymigrate\\.service\\.spi\\.KeyMigratorService",