- First i cloned the repo from SteeltoeOSS/configserver using
git
- After running command
mvnw spring-boot:run
on cmd, got this
C:\Users\MY PC\configserver>mvnw spring-boot:run
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Config Server 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> spring-boot-maven-plugin:1.3.8.RELEASE:run (default-cli) > test-compile @ configserver >>>
[INFO]
[INFO] --- git-commit-id-plugin:2.1.11:revision (default) @ configserver ---
[info] dotGitDirectory C:\Users\MY PC\configserver.git
[info] git.build.user.name MyName
[info] git.build.user.email [email protected]
[info] git.branch master
[info] Tag refs [ [] ]
[info] Created map: [ {} ]
[info] HEAD is [ 7b80b357626a8d19b19344b45a3de15159d59cc6 ]
[info] Repo is in dirty state [ true ]
[info] git.commit.id.describe 7b80b35
[info] git.commit.id 7b80b357626a8d19b19344b45a3de15159d59cc6
[info] git.commit.id.abbrev 7b80b35
[info] git.commit.user.name MyName
[info] git.commit.user.email [email protected]
[info] git.commit.message.full githubRepoLinkChanged
[info] git.commit.message.short githubRepoLinkChanged
[info] git.commit.time 2021-05-07T11:53:40+0500
[info] git.remote.origin.url https://[email protected]/devMY/myApp/_git/ConfigServer
[info] git.tags
[info] git.build.time 2021-05-10T12:12:02+0500
[info] git.commit.id.describe-short 7b80b35
[info] found property git.tags
[info] found property git.commit.id.abbrev
[info] found property git.commit.user.email
[info] found property git.commit.message.full
[info] found property git.commit.id
[info] found property git.commit.id.describe-short
[info] found property git.commit.message.short
[info] found property git.commit.user.name
[info] found property git.build.user.name
[info] found property git.commit.id.describe
[info] found property git.build.user.email
[info] found property git.branch
[info] found property git.commit.time
[info] found property git.build.time
[info] found property git.remote.origin.url
[info] Writing properties file to [ C:\Users\MY PC\configserver\target\classes\git.properties ] (for module Config Server )...
[info] Config Server ] project Config Server
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ configserver ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ configserver ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ configserver ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\MY PC\configserver\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ configserver ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< spring-boot-maven-plugin:1.3.8.RELEASE:run (default-cli) < test-compile @ configserver <<<
[INFO]
[INFO] --- spring-boot-maven-plugin:1.3.8.RELEASE:run (default-cli) @ configserver ---
2021-05-10 12:12:05.546 INFO 19744 --- [ main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@ecdf387: startup date [Mon May 10 12:12:05 PKT 2021]; root of context hierarchy
2021-05-10 12:12:05.802 INFO 19744 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2021-05-10 12:12:05.833 INFO 19744 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'configurationPropertiesRebinderAutoConfiguration' of type [class org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$437d1298] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
. ____ _ __ _ _
/\ / ' __ _ () __ __ _ \ \ \
( ( )__ | '_ | '| | ' / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) )
' || .__|| ||| |_, | / / / /
=========||==============|/=////
:: Spring Boot :: (v1.3.8.RELEASE)
2021-05-10 12:12:06.602 INFO 19744 --- [ main] demo.ConfigServerApplication : No active profile set, falling back to default profiles: default
2021-05-10 12:12:06.614 INFO 19744 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@c7f2627: startup date [Mon May 10 12:12:06 PKT 2021]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@ecdf387
2021-05-10 12:12:07.593 WARN 19744 --- [ main] o.s.c.a.ConfigurationClassPostProcessor : Cannot enhance @configuration bean definition 'refreshScope' since its singleton instance has been created too early. The typical cause is a non-static @bean method with a BeanDefinitionRegistryPostProcessor return type: Consider declaring such methods as 'static'.
2021-05-10 12:12:07.702 DEBUG 19744 --- [ main] o.s.cloud.context.scope.GenericScope : Generating bean factory id from names: [applicationContextIdFilter, archaiusEndpoint, auditEventRepository, auditListener, autoConfigurationReportEndpoint, basicErrorController, beanNameHandlerMapping, beanNameViewResolver, beansEndpoint, characterEncodingFilter, commonsFeatures, configClientProperties, configServerApplication, configServerHealthIndicator, configurableEnvironmentConfiguration, configurationPropertiesBeans, configurationPropertiesRebinder, configurationPropertiesReportEndpoint, contextRefresher, default.org.springframework.cloud.netflix.ribbon.RibbonAutoConfiguration.RibbonClientSpecification, default.org.springframework.cloud.netflix.ribbon.eureka.RibbonEurekaAutoConfiguration.RibbonClientSpecification, defaultMetricsTagProvider, defaultServletHandlerMapping, defaultViewResolver, discoveryClient, discoveryClientHealthIndicator, discoveryClientOptionalArgs, discoveryCompositeHealthIndicator, diskSpaceHealthIndicator, diskSpaceHealthIndicatorProperties, dispatcherServlet, dispatcherServletRegistration, dumpEndpoint, duplicateServerPropertiesDetector, embeddedServletContainerCustomizerBeanPostProcessor, encrypt.CONFIGURATION_PROPERTIES, encryptionController, endpointHandlerMapping, endpointMBeanExporter, endpoints.CONFIGURATION_PROPERTIES, endpoints.cors.CONFIGURATION_PROPERTIES, endpoints.health.CONFIGURATION_PROPERTIES, endpoints.jmx.CONFIGURATION_PROPERTIES, environmentController, environmentEncryptor, environmentEndpoint, environmentManager, environmentManagerEndpoint, environmentMvcEndpoint, environmentRepository, error, errorAttributes, errorPageCustomizer, eurekaApplicationInfoManager, eurekaClient, eurekaClientConfigBean, eurekaFeature, eurekaHealthIndicator, eurekaInstanceConfigBean, faviconHandlerMapping, faviconRequestHandler, featuresEndpoint, handlerExceptionResolver, healthAggregator, healthEndpoint, healthMvcEndpoint, hiddenHttpMethodFilter, httpPutFormContentFilter, httpRequestHandlerAdapter, hystrixHealthIndicator, inetUtils, inetUtilsProperties, infoEndpoint, infoEndpointRebinderConfiguration, jacksonObjectMapper, jacksonObjectMapperBuilder, loadBalancedRestTemplateInitializer, loadBalancerClient, loggingRebinder, management.health.status.CONFIGURATION_PROPERTIES, management.trace.CONFIGURATION_PROPERTIES, managementContextResolver, managementServerProperties, managementServletContext, mappingJackson2HttpMessageConverter, mbeanExporter, mbeanServer, messageConverters, metricReaderPublicMetrics, metricWritersMetricExporter, metricsEndpoint, metricsFilter, metricsMvcEndpoint, monitorCache, monitorRegistry, multipart.CONFIGURATION_PROPERTIES, multipartConfigElement, multipartResolver, mvcContentNegotiationManager, mvcConversionService, mvcEndpoints, mvcPathMatcher, mvcResourceUrlProvider, mvcUriComponentsContributor, mvcUrlPathHelper, mvcValidator, mvcViewResolver, objectNamingStrategy, observableMVCConfiguration, org.springframework.boot.actuate.autoconfigure.AuditAutoConfiguration, org.springframework.boot.actuate.autoconfigure.AuditAutoConfiguration$AuditEventRepositoryConfiguration, org.springframework.boot.actuate.autoconfigure.EndpointAutoConfiguration, org.springframework.boot.actuate.autoconfigure.EndpointAutoConfiguration$InfoPropertiesConfiguration, org.springframework.boot.actuate.autoconfigure.EndpointAutoConfiguration$RequestMappingEndpointConfiguration, org.springframework.boot.actuate.autoconfigure.EndpointMBeanExportAutoConfiguration, org.springframework.boot.actuate.autoconfigure.EndpointWebMvcAutoConfiguration, org.springframework.boot.actuate.autoconfigure.EndpointWebMvcAutoConfiguration$ApplicationContextFilterConfiguration, org.springframework.boot.actuate.autoconfigure.EndpointWebMvcAutoConfiguration$EndpointWebMvcConfiguration, org.springframework.boot.actuate.autoconfigure.EndpointWebMvcManagementContextConfiguration, org.springframework.boot.actuate.autoconfigure.HealthIndicatorAutoConfiguration, org.springframework.boot.actuate.autoconfigure.HealthIndicatorAutoConfiguration$DiskSpaceHealthIndicatorConfiguration, org.springframework.boot.actuate.autoconfigure.ManagementServerPropertiesAutoConfiguration, org.springframework.boot.actuate.autoconfigure.MetricExportAutoConfiguration, org.springframework.boot.actuate.autoconfigure.MetricExportAutoConfiguration$MetricExportPropertiesConfiguration, org.springframework.boot.actuate.autoconfigure.MetricFilterAutoConfiguration, org.springframework.boot.actuate.autoconfigure.MetricRepositoryAutoConfiguration, org.springframework.boot.actuate.autoconfigure.PublicMetricsAutoConfiguration, org.springframework.boot.actuate.autoconfigure.PublicMetricsAutoConfiguration$TomcatMetricsConfiguration, org.springframework.boot.actuate.autoconfigure.TraceRepositoryAutoConfiguration, org.springframework.boot.actuate.autoconfigure.TraceWebFilterAutoConfiguration, org.springframework.boot.autoconfigure.AutoConfigurationPackages, org.springframework.boot.autoconfigure.PropertyPlaceholderAutoConfiguration, org.springframework.boot.autoconfigure.condition.BeanTypeRegistry, org.springframework.boot.autoconfigure.context.ConfigurationPropertiesAutoConfiguration, org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration, org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$JacksonObjectMapperBuilderConfiguration, org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration$JacksonObjectMapperConfiguration, org.springframework.boot.autoconfigure.jmx.JmxAutoConfiguration, org.springframework.boot.autoconfigure.web.DispatcherServletAutoConfiguration, org.springframework.boot.autoconfigure.web.DispatcherServletAutoConfiguration$DispatcherServletConfiguration, org.springframework.boot.autoconfigure.web.EmbeddedServletContainerAutoConfiguration, org.springframework.boot.autoconfigure.web.EmbeddedServletContainerAutoConfiguration$EmbeddedTomcat, org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration, org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration$WhitelabelErrorViewConfiguration, org.springframework.boot.autoconfigure.web.HttpEncodingAutoConfiguration, org.springframework.boot.autoconfigure.web.HttpMessageConvertersAutoConfiguration, org.springframework.boot.autoconfigure.web.HttpMessageConvertersAutoConfiguration$StringHttpMessageConverterConfiguration, org.springframework.boot.autoconfigure.web.JacksonHttpMessageConvertersConfiguration, org.springframework.boot.autoconfigure.web.JacksonHttpMessageConvertersConfiguration$MappingJackson2HttpMessageConverterConfiguration, org.springframework.boot.autoconfigure.web.MultipartAutoConfiguration, org.springframework.boot.autoconfigure.web.ServerPropertiesAutoConfiguration, org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration, org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$EnableWebMvcConfiguration, org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter, org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$WebMvcAutoConfigurationAdapter$FaviconConfiguration, org.springframework.boot.autoconfigure.websocket.WebSocketAutoConfiguration, org.springframework.boot.autoconfigure.websocket.WebSocketAutoConfiguration$TomcatWebSocketConfiguration, org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor, org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.store, org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration, org.springframework.cloud.autoconfigure.LifecycleMvcEndpointAutoConfiguration, org.springframework.cloud.autoconfigure.RefreshAutoConfiguration, org.springframework.cloud.autoconfigure.RefreshEndpointAutoConfiguration, org.springframework.cloud.autoconfigure.RefreshEndpointAutoConfiguration$RefreshEndpointConfiguration, org.springframework.cloud.autoconfigure.RefreshEndpointAutoConfiguration$RestartEndpointWithoutIntegration, org.springframework.cloud.client.CommonsClientAutoConfiguration, org.springframework.cloud.client.CommonsClientAutoConfiguration$ActuatorConfiguration, org.springframework.cloud.client.loadbalancer.LoadBalancerAutoConfiguration, org.springframework.cloud.commons.util.UtilAutoConfiguration, org.springframework.cloud.config.client.ConfigClientAutoConfiguration, org.springframework.cloud.config.server.config.ConfigServerEncryptionConfiguration, org.springframework.cloud.config.server.config.ConfigServerMvcConfiguration, org.springframework.cloud.config.server.config.EncryptionAutoConfiguration, org.springframework.cloud.config.server.config.EncryptionAutoConfiguration$KeyStoreConfiguration, org.springframework.cloud.config.server.config.EnvironmentRepositoryConfiguration, org.springframework.cloud.config.server.config.EnvironmentRepositoryConfiguration$GitRepositoryConfiguration, org.springframework.cloud.config.server.config.ResourceRepositoryConfiguration, org.springframework.cloud.config.server.config.SingleEncryptorAutoConfiguration, org.springframework.cloud.netflix.archaius.ArchaiusAutoConfiguration, org.springframework.cloud.netflix.archaius.ArchaiusAutoConfiguration$ArchaiusEndpointConfiguration, org.springframework.cloud.netflix.archaius.ArchaiusAutoConfiguration$PropagateEventsConfiguration, org.springframework.cloud.netflix.eureka.EurekaClientAutoConfiguration, org.springframework.cloud.netflix.eureka.EurekaClientAutoConfiguration$RefreshableEurekaClientConfiguration, org.springframework.cloud.netflix.eureka.EurekaDiscoveryClientConfiguration, org.springframework.cloud.netflix.eureka.EurekaDiscoveryClientConfiguration$EurekaClientConfigurationRefresher, org.springframework.cloud.netflix.eureka.EurekaDiscoveryClientConfiguration$EurekaHealthIndicatorConfiguration, org.springframework.cloud.netflix.eureka.config.EurekaClientConfigServerAutoConfiguration, org.springframework.cloud.netflix.hystrix.HystrixAutoConfiguration, org.springframework.cloud.netflix.metrics.MetricsInterceptorConfiguration, org.springframework.cloud.netflix.metrics.MetricsInterceptorConfiguration$MetricsWebResourceConfiguration, org.springframework.cloud.netflix.metrics.servo.ServoMetricsAutoConfiguration, org.springframework.cloud.netflix.ribbon.RibbonAutoConfiguration, org.springframework.cloud.netflix.ribbon.eureka.RibbonEurekaAutoConfiguration, org.springframework.cloud.netflix.rx.RxJavaAutoConfiguration, org.springframework.cloud.netflix.rx.RxJavaAutoConfiguration$RxJavaReturnValueHandlerConfig, org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor, org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor, org.springframework.context.annotation.internalAutowiredAnnotationProcessor, org.springframework.context.annotation.internalCommonAnnotationProcessor, org.springframework.context.annotation.internalConfigurationAnnotationProcessor, org.springframework.context.annotation.internalRequiredAnnotationProcessor, org.springframework.context.annotation.internalScheduledAnnotationProcessor, org.springframework.context.event.internalEventListenerFactory, org.springframework.context.event.internalEventListenerProcessor, org.springframework.scheduling.annotation.SchedulingConfiguration, pauseEndpoint, pauseMvcEndpoint, preserveErrorControllerTargetClassPostProcessor, propertySourcesPlaceholderConfigurer, refreshEndpoint, refreshEventListener, refreshMvcEndpoint, refreshScope, refreshScopeHealthIndicator, requestContextFilter, requestMappingEndpoint, requestMappingHandlerAdapter, requestMappingHandlerMapping, resourceHandlerMapping, restTemplateCustomizer, restartEndpoint, restartMvcEndpoint, resumeEndpoint, resumeMvcEndpoint, ribbonFeature, ribbonInterceptor, rxFeature, scopedTarget.eurekaApplicationInfoManager, scopedTarget.eurekaClient, serverProperties, servoMetricNaming, servoMetricReader, servoMetricServices, servoMetricsConfig, servoMonitoringWebResourceInterceptor, servoPublicMetrics, shutdownEndpoint, simpleControllerHandlerAdapter, singleReturnValueHandler, spring.cloud.config.server.CONFIGURATION_PROPERTIES, spring.http.encoding.CONFIGURATION_PROPERTIES, spring.jackson.CONFIGURATION_PROPERTIES, spring.metrics.export.CONFIGURATION_PROPERTIES, spring.mvc.CONFIGURATION_PROPERTIES, spring.resources.CONFIGURATION_PROPERTIES, springClientFactory, stringHttpMessageConverter, systemPublicMetrics, textEncryptorLocator, tomcatEmbeddedServletContainerFactory, tomcatPublicMetrics, traceEndpoint, traceRepository, viewControllerHandlerMapping, viewResolver, webRequestLoggingFilter, websocketContainerCustomizer]
2021-05-10 12:12:07.708 INFO 19744 --- [ main] o.s.cloud.context.scope.GenericScope : BeanFactory id=1891f0d4-ccae-3f18-9b8b-08c3acb8e514
2021-05-10 12:12:07.718 INFO 19744 --- [ main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2021-05-10 12:12:07.739 INFO 19744 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [class org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$437d1298] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-05-10 12:12:07.746 INFO 19744 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.RefreshEndpointAutoConfiguration' of type [class org.springframework.cloud.autoconfigure.RefreshEndpointAutoConfiguration$$EnhancerBySpringCGLIB$$ecdc148e] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-05-10 12:12:13.061 INFO 19744 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8888 (http)
2021-05-10 12:12:13.080 INFO 19744 --- [ main] o.apache.catalina.core.StandardService : Starting service Tomcat
2021-05-10 12:12:13.081 INFO 19744 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.0.37
2021-05-10 12:12:13.190 INFO 19744 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2021-05-10 12:12:13.191 INFO 19744 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 6577 ms
2021-05-10 12:12:13.536 INFO 19744 --- [ost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
2021-05-10 12:12:13.541 INFO 19744 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'metricsFilter' to: [/]
2021-05-10 12:12:13.541 INFO 19744 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/]
2021-05-10 12:12:13.542 INFO 19744 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/]
2021-05-10 12:12:13.542 INFO 19744 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/]
2021-05-10 12:12:13.542 INFO 19744 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/]
2021-05-10 12:12:13.542 INFO 19744 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'webRequestLoggingFilter' to: [/]
2021-05-10 12:12:13.543 INFO 19744 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean : Mapping filter: 'applicationContextIdFilter' to: [/]
2021-05-10 12:12:14.388 INFO 19744 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@c7f2627: startup date [Mon May 10 12:12:06 PKT 2021]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@ecdf387
2021-05-10 12:12:14.490 INFO 19744 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/encrypt/status],methods=[GET]}" onto public java.util.Map<java.lang.String, java.lang.Object> org.springframework.cloud.config.server.encryption.EncryptionController.status()
2021-05-10 12:12:14.492 INFO 19744 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/key/{name}/{profiles}],methods=[GET]}" onto public java.lang.String org.springframework.cloud.config.server.encryption.EncryptionController.getPublicKey(java.lang.String,java.lang.String)
2021-05-10 12:12:14.492 INFO 19744 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/key],methods=[GET]}" onto public java.lang.String org.springframework.cloud.config.server.encryption.EncryptionController.getPublicKey()
2021-05-10 12:12:14.492 INFO 19744 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/decrypt/{name}/{profiles}],methods=[POST]}" onto public java.lang.String org.springframework.cloud.config.server.encryption.EncryptionController.decrypt(java.lang.String,java.lang.String,java.lang.String,org.springframework.http.MediaType)
2021-05-10 12:12:14.493 INFO 19744 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/decrypt],methods=[POST]}" onto public java.lang.String org.springframework.cloud.config.server.encryption.EncryptionController.decrypt(java.lang.String,org.springframework.http.MediaType)
2021-05-10 12:12:14.494 INFO 19744 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/encrypt],methods=[POST]}" onto public java.lang.String org.springframework.cloud.config.server.encryption.EncryptionController.encrypt(java.lang.String,org.springframework.http.MediaType)
2021-05-10 12:12:14.494 INFO 19744 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/encrypt/{name}/{profiles}],methods=[POST]}" onto public java.lang.String org.springframework.cloud.config.server.encryption.EncryptionController.encrypt(java.lang.String,java.lang.String,java.lang.String,org.springframework.http.MediaType)
2021-05-10 12:12:14.500 INFO 19744 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/{name}-{profiles}.properties],methods=[GET]}" onto public org.springframework.http.ResponseEntity<java.lang.String> org.springframework.cloud.config.server.environment.EnvironmentController.properties(java.lang.String,java.lang.String,boolean) throws java.io.IOException
2021-05-10 12:12:14.501 INFO 19744 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/{name}-{profiles}.yml || /{name}-{profiles}.yaml],methods=[GET]}" onto public org.springframework.http.ResponseEntity<java.lang.String> org.springframework.cloud.config.server.environment.EnvironmentController.yaml(java.lang.String,java.lang.String,boolean) throws java.lang.Exception
2021-05-10 12:12:14.506 INFO 19744 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/{name}/{profiles:.[^-].}],methods=[GET]}" onto public org.springframework.cloud.config.environment.Environment org.springframework.cloud.config.server.environment.EnvironmentController.defaultLabel(java.lang.String,java.lang.String)
2021-05-10 12:12:14.511 INFO 19744 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/{name}-{profiles}.json],methods=[GET]}" onto public org.springframework.http.ResponseEntity<java.lang.String> org.springframework.cloud.config.server.environment.EnvironmentController.jsonProperties(java.lang.String,java.lang.String,boolean) throws java.lang.Exception
2021-05-10 12:12:14.512 INFO 19744 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/{label}/{name}-{profiles}.yml || /{label}/{name}-{profiles}.yaml],methods=[GET]}" onto public org.springframework.http.ResponseEntity<java.lang.String> org.springframework.cloud.config.server.environment.EnvironmentController.labelledYaml(java.lang.String,java.lang.String,java.lang.String,boolean) throws java.lang.Exception
2021-05-10 12:12:14.513 INFO 19744 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/{name}/{profiles}/{label:.}],methods=[GET]}" onto public org.springframework.cloud.config.environment.Environment org.springframework.cloud.config.server.environment.EnvironmentController.labelled(java.lang.String,java.lang.String,java.lang.String)
2021-05-10 12:12:14.513 INFO 19744 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/{label}/{name}-{profiles}.json],methods=[GET]}" onto public org.springframework.http.ResponseEntity<java.lang.String> org.springframework.cloud.config.server.environment.EnvironmentController.labelledJsonProperties(java.lang.String,java.lang.String,java.lang.String,boolean) throws java.lang.Exception
2021-05-10 12:12:14.514 INFO 19744 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/{label}/{name}-{profiles}.properties],methods=[GET]}" onto public org.springframework.http.ResponseEntity<java.lang.String> org.springframework.cloud.config.server.environment.EnvironmentController.labelledProperties(java.lang.String,java.lang.String,java.lang.String,boolean) throws java.io.IOException
2021-05-10 12:12:14.517 INFO 19744 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2021-05-10 12:12:14.526 INFO 19744 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2021-05-10 12:12:14.571 INFO 19744 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2021-05-10 12:12:14.571 INFO 19744 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2021-05-10 12:12:14.626 INFO 19744 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2021-05-10 12:12:15.133 INFO 19744 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/admin/env/{name:.}],methods=[GET],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EnvironmentMvcEndpoint.value(java.lang.String)
2021-05-10 12:12:15.134 INFO 19744 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/admin/env || /admin/env.json],methods=[GET],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2021-05-10 12:12:15.139 INFO 19744 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/admin/env],methods=[POST]}" onto public java.lang.Object org.springframework.cloud.context.environment.EnvironmentManagerMvcEndpoint.value(java.util.Map<java.lang.String, java.lang.String>)
2021-05-10 12:12:15.142 INFO 19744 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/admin/env/reset],methods=[POST]}" onto public java.util.Map<java.lang.String, java.lang.Object> org.springframework.cloud.context.environment.EnvironmentManagerMvcEndpoint.reset()
2021-05-10 12:12:15.143 INFO 19744 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/admin/features || /admin/features.json],methods=[GET],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2021-05-10 12:12:15.144 INFO 19744 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/admin/beans || /admin/beans.json],methods=[GET],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2021-05-10 12:12:15.145 INFO 19744 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/admin/health || /admin/health.json],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.HealthMvcEndpoint.invoke(java.security.Principal)
2021-05-10 12:12:15.147 INFO 19744 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/admin/info || /admin/info.json],methods=[GET],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2021-05-10 12:12:15.148 INFO 19744 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/admin/pause || /admin/pause.json],methods=[POST]}" onto public java.lang.Object org.springframework.cloud.endpoint.GenericPostableMvcEndpoint.invoke()
2021-05-10 12:12:15.148 INFO 19744 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/admin/mappings || /admin/mappings.json],methods=[GET],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2021-05-10 12:12:15.154 INFO 19744 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/admin/dump || /admin/dump.json],methods=[GET],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2021-05-10 12:12:15.157 INFO 19744 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/admin/resume || /admin/resume.json],methods=[POST]}" onto public java.lang.Object org.springframework.cloud.endpoint.GenericPostableMvcEndpoint.invoke()
2021-05-10 12:12:15.158 INFO 19744 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/admin/refresh || /admin/refresh.json],methods=[POST]}" onto public java.lang.Object org.springframework.cloud.endpoint.GenericPostableMvcEndpoint.invoke()
2021-05-10 12:12:15.159 INFO 19744 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/admin/archaius || /admin/archaius.json],methods=[GET],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2021-05-10 12:12:15.160 INFO 19744 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/admin/trace || /admin/trace.json],methods=[GET],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2021-05-10 12:12:15.161 INFO 19744 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/admin/metrics/{name:.}],methods=[GET],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.MetricsMvcEndpoint.value(java.lang.String)
2021-05-10 12:12:15.162 INFO 19744 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/admin/metrics || /admin/metrics.json],methods=[GET],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2021-05-10 12:12:15.164 INFO 19744 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/admin/restart || /admin/restart.json],methods=[POST]}" onto public java.lang.Object org.springframework.cloud.context.restart.RestartMvcEndpoint.invoke()
2021-05-10 12:12:15.165 INFO 19744 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/admin/autoconfig || /admin/autoconfig.json],methods=[GET],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2021-05-10 12:12:15.171 INFO 19744 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/admin/configprops || /admin/configprops.json],methods=[GET],produces=[application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2021-05-10 12:12:15.279 WARN 19744 --- [ main] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration sources.
2021-05-10 12:12:15.279 INFO 19744 --- [ main] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2021-05-10 12:12:15.293 WARN 19744 --- [ main] c.n.c.sources.URLConfigurationSource : No URLs will be polled as dynamic configuration sources.
2021-05-10 12:12:15.293 INFO 19744 --- [ main] c.n.c.sources.URLConfigurationSource : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
2021-05-10 12:12:15.386 INFO 19744 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup
2021-05-10 12:12:15.400 INFO 19744 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name 'refreshScope' has been autodetected for JMX exposure
2021-05-10 12:12:15.402 INFO 19744 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name 'environmentManager' has been autodetected for JMX exposure
2021-05-10 12:12:15.406 INFO 19744 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name 'configurationPropertiesRebinder' has been autodetected for JMX exposure
2021-05-10 12:12:15.407 INFO 19744 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name 'refreshEndpoint' has been autodetected for JMX exposure
2021-05-10 12:12:15.407 INFO 19744 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name 'restartEndpoint' has been autodetected for JMX exposure
2021-05-10 12:12:15.411 INFO 19744 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean 'environmentManager': registering with JMX server as MBean [org.springframework.cloud.context.environment:name=environmentManager,type=EnvironmentManager]
2021-05-10 12:12:15.429 INFO 19744 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean 'restartEndpoint': registering with JMX server as MBean [org.springframework.cloud.context.restart:name=restartEndpoint,type=RestartEndpoint]
2021-05-10 12:12:15.445 INFO 19744 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean 'refreshScope': registering with JMX server as MBean [org.springframework.cloud.context.scope.refresh:name=refreshScope,type=RefreshScope]
2021-05-10 12:12:15.454 INFO 19744 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean 'configurationPropertiesRebinder': registering with JMX server as MBean [org.springframework.cloud.context.properties:name=configurationPropertiesRebinder,context=c7f2627,type=ConfigurationPropertiesRebinder]
2021-05-10 12:12:15.466 INFO 19744 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Located managed bean 'refreshEndpoint': registering with JMX server as MBean [org.springframework.cloud.endpoint:name=refreshEndpoint,type=RefreshEndpoint]
2021-05-10 12:12:15.727 INFO 19744 --- [ main] o.s.c.support.DefaultLifecycleProcessor : Starting beans in phase 0
2021-05-10 12:12:15.745 INFO 19744 --- [ main] o.s.c.n.eureka.InstanceInfoFactory : Setting initial instance status as: STARTING
2021-05-10 12:12:21.256 INFO 19744 --- [ main] c.n.e.EurekaDiscoveryClientConfiguration : Registering application configserver with eureka with status UP
2021-05-10 12:12:21.270 DEBUG 19744 --- [ main] s.c.c.d.h.DiscoveryClientHealthIndicator : Discovery Client has been initialized
2021-05-10 12:12:21.508 INFO 19744 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8888 (http)
2021-05-10 12:12:21.509 INFO 19744 --- [ main] c.n.e.EurekaDiscoveryClientConfiguration : Updating port to 8888
2021-05-10 12:12:21.518 INFO 19744 --- [ main] demo.ConfigServerApplication : Started ConfigServerApplication in 17.133 seconds (JVM running for 22.196)
- After this i run my project, but i received nothing in configuration i.e no values, then i close my project and see this:
2021-05-10 12:22:52.534 INFO 9548 --- [nio-8888-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring FrameworkServlet 'dispatcherServlet'
2021-05-10 12:22:52.534 INFO 9548 --- [nio-8888-exec-1] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization started
2021-05-10 12:22:52.562 INFO 9548 --- [nio-8888-exec-1] o.s.web.servlet.DispatcherServlet : FrameworkServlet 'dispatcherServlet': initialization completed in 26 ms
2021-05-10 12:22:57.112 INFO 9548 --- [nio-8888-exec-1] o.s.boot.SpringApplication : Starting application on DESKTOP-SASDHXX with PID 9548 (started by MY PC in C:\Users\MY PC\configserver)
2021-05-10 12:22:57.112 INFO 9548 --- [nio-8888-exec-1] o.s.boot.SpringApplication : The following profiles are active: Development
2021-05-10 12:22:57.118 INFO 9548 --- [nio-8888-exec-1] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@26b6cd1c: startup date [Mon May 10 12:22:57 PKT 2021]; root of context hierarchy
2021-05-10 12:22:57.124 INFO 9548 --- [nio-8888-exec-1] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2021-05-10 12:22:57.140 INFO 9548 --- [nio-8888-exec-1] o.s.boot.SpringApplication : Started application in 0.661 seconds (JVM running for 343.491)
2021-05-10 12:22:57.146 INFO 9548 --- [nio-8888-exec-1] o.s.c.c.s.e.NativeEnvironmentRepository : Adding property source: file:/C:/Users/MYPC1/AppData/Local/Temp/config-repo-319054025981916833/appSettings.yml
2021-05-10 12:22:57.146 INFO 9548 --- [nio-8888-exec-1] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@26b6cd1c: startup date [Mon May 10 12:22:57 PKT 2021]; root of context hierarchy
2021-05-10 12:23:20.728 INFO 9548 --- [nio-8888-exec-3] o.s.boot.SpringApplication : Starting application on DESKTOP-SASDHXX with PID 9548 (started by MY PC in C:\Users\MY PC\configserver)
2021-05-10 12:23:20.729 INFO 9548 --- [nio-8888-exec-3] o.s.boot.SpringApplication : The following profiles are active: Development
2021-05-10 12:23:20.737 INFO 9548 --- [nio-8888-exec-3] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@3b0f31c0: startup date [Mon May 10 12:23:20 PKT 2021]; root of context hierarchy
2021-05-10 12:23:20.749 INFO 9548 --- [nio-8888-exec-3] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2021-05-10 12:23:20.768 INFO 9548 --- [nio-8888-exec-3] o.s.boot.SpringApplication : Started application in 0.664 seconds (JVM running for 367.118)
2021-05-10 12:23:20.768 INFO 9548 --- [nio-8888-exec-3] o.s.c.c.s.e.NativeEnvironmentRepository : Adding property source: file:/C:/Users/MYPC1/AppData/Local/Temp/config-repo-319054025981916833/appSettings.yml
2021-05-10 12:23:20.769 INFO 9548 --- [nio-8888-exec-3] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@3b0f31c0: startup date [Mon May 10 12:23:20 PKT 2021]; root of context hierarchy
- Again i run my project and i got the configuration values and on cmd it shows this
2021-05-10 12:26:09.758 INFO 9548 --- [nio-8888-exec-4] o.s.boot.SpringApplication : Starting application on DESKTOP-SASDHXX with PID 9548 (started by MY PC in C:\Users\MY PC\configserver)
2021-05-10 12:26:09.759 INFO 9548 --- [nio-8888-exec-4] o.s.boot.SpringApplication : The following profiles are active: Development
2021-05-10 12:26:09.763 INFO 9548 --- [nio-8888-exec-4] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@37ff6cb0: startup date [Mon May 10 12:26:09 PKT 2021]; root of context hierarchy
2021-05-10 12:26:09.767 INFO 9548 --- [nio-8888-exec-4] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2021-05-10 12:26:09.774 INFO 9548 --- [nio-8888-exec-4] o.s.boot.SpringApplication : Started application in 0.551 seconds (JVM running for 536.124)
2021-05-10 12:26:09.774 INFO 9548 --- [nio-8888-exec-4] o.s.c.c.s.e.NativeEnvironmentRepository : Adding property source: file:/C:/Users/MYPC1/AppData/Local/Temp/config-repo-319054025981916833/appSettings.yml
2021-05-10 12:26:09.774 INFO 9548 --- [nio-8888-exec-4] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@37ff6cb0: startup date [Mon May 10 12:26:09 PKT 2021]; root of context hierarchy
2021-05-10 12:29:54.984 INFO 9548 --- [ Thread-6] ationConfigEmbeddedWebApplicationContext : Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@1d406780: startup date [Mon May 10 12:17:21 PKT 2021]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@448eaa9a
Note: steeltoe config server did not give the values on first time running of project, it gives the value on second or third attempt