springboot 2.4.4和awspramstore

cgvd09ve  于 2021-07-15  发布在  Java
关注(0)|答案(1)|浏览(390)
INFO  [2021-03-26 19:38:28.529] [main] i.a.c.p.AwsParamStorePropertySourceLocator: Loading property from AWS Parameter Store with name: /document-upload/null/, optional: false
INFO  [2021-03-26 19:38:28.560] [main] i.a.c.p.AwsParamStorePropertySourceLocator: Loading property from AWS Parameter Store with name: /document-upload/application_test/, optional: false
INFO  [2021-03-26 19:38:28.615] [main] i.a.c.p.AwsParamStorePropertySourceLocator: Loading property from AWS Parameter Store with name: /document-upload/application/, optional: false
DEBUG [2021-03-26 19:38:28.718] [main] i.a.c.p.AwsParamStorePropertySource: Populating property retrieved from AWS Parameter Store: authorization.clientId
DEBUG [2021-03-26 19:38:28.720] [main] i.a.c.p.AwsParamStorePropertySource: Populating property retrieved from AWS Parameter Store: authorization.clientSecret
DEBUG [2021-03-26 19:38:28.720] [main] i.a.c.p.AwsParamStorePropertySource: Populating property retrieved from AWS Parameter Store: management.metrics.export.influx.password
DEBUG [2021-03-26 19:38:28.720] [main] i.a.c.p.AwsParamStorePropertySource: Populating property retrieved from AWS Parameter Store: management.metrics.export.influx.user-name
DEBUG [2021-03-26 19:38:28.720] [main] i.a.c.p.AwsParamStorePropertySource: Populating property retrieved from AWS Parameter Store: scrive.token
DEBUG [2021-03-26 19:38:28.720] [main] i.a.c.p.AwsParamStorePropertySource: Populating property retrieved from AWS Parameter Store: spring.datasource.password
DEBUG [2021-03-26 19:38:28.720] [main] i.a.c.p.AwsParamStorePropertySource: Populating property retrieved from AWS Parameter Store: spring.datasource.username
INFO  [2021-03-26 19:38:28.721] [main] o.s.c.b.c.PropertySourceBootstrapConfiguration: Located property source: [BootstrapPropertySource {name='bootstrapProperties-/document-upload/null_test/'}, BootstrapPropertySource {name='bootstrapProperties-/document-upload/null/'}, BootstrapPropertySource {name='bootstrapProperties-/document-upload/application_test/'}, BootstrapPropertySource {name='bootstrapProperties-/document-upload/application/'}]
INFO  [2021-03-26 19:38:28.837] [main] c.i.d.DocumentUploadApplication: The following profiles are active: test
WARN  [2021-03-26 19:38:32.413] [main] o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'aws.paramstore-io.awspring.cloud.paramstore.AwsParamStoreProperties' available
INFO  [2021-03-26 19:38:32.470] [main] o.s.b.a.l.ConditionEvaluationReportLoggingListener:
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
ERROR [2021-03-26 19:38:32.570] [main] o.s.b.d.LoggingFailureAnalysisReporter:

***************************

APPLICATION FAILED TO START

***************************

Description:
A component required a bean named 'aws.paramstore-io.awspring.cloud.paramstore.AwsParamStoreProperties' that could not be found.
Action:
Consider defining a bean named 'aws.paramstore-io.awspring.cloud.paramstore.AwsParamStoreProperties' in your configuration.
About Support File a Bug Documentation Privacy Policy

为什么它要问我的房子。在我的pom中,我只将dep添加到springcloudstarteraws参数存储配置中
跟随https://docs.awspring.io/spring-cloud-aws/docs/2.3.0-rc1/reference/html/index.html 第3.2节

sg24os4d

sg24os4d1#

请稍等。解决这一问题的公关正在进行中:https://github.com/awspring/spring-cloud-aws/pull/102

相关问题