我试图将我的spring引导项目从spring 2.3迁移到2.5,然后将spring相应地迁移到2020.0.X,我注意到云提供商特定的库已经被删除了。
[ERROR] 'dependencies.dependency.version' for org.springframework.cloud:spring-cloud-starter-aws:jar is missing. @ line 56, column 21
[ERROR] 'dependencies.dependency.version' for org.springfra
我有一个应用程序,当我部署到GCP时,它无法启动,但它在我的本地docker上运行得很好。我不知道如何解决这个问题,我需要在我的属性文件中包含任何东西吗? ***************************
APPLICATION FAILED TO START
***************************
Description:
Parameter 1 of constructor in org.springframework.cloud.gcp.autoconfigure.pubsub.GcpPubSubAutoConfiguration required a b
我可以在本地运行该应用程序,但是当我在GCP上部署它时,我得到一个错误消息: com.netflix.client.ClientException: Load balancer does not have available server for client: custom-index.rhines-dev.svc.cluster.local 这是我想通过zuul转发流量到的主机url。 我的服务和路由已注册。 zuul:
ignoredPatterns:
- /custom/**
host:
connect-timeout-millis: 4000
so
我试图在spring版本2.6.6 (来自发布培训)中使用Spring云任务核心版本2.4.1。这向我显示了以下错误:
Your project setup is incompatible with our requirements due to following reasons:
- Spring Boot [2.6.6] is not compatible with this Spring Cloud release train
Action:
Consider applying the following actions:
- Change Spring Boot versi
我正在尝试将GCP pub-sub与我的spring boot项目集成,并在日志和应用程序崩溃中获得以下内存致命错误 2020-10-24 10:35:51.032 INFO GcpContextAutoConfiguration The default project ID is <project-id>
2020-10-24 10:35:51.111 INFO DefaultCredentialsProvider Default credentials provider for service account <credentials>@<domai
我正在尝试使用具有云编辑器角色的服务帐户连接到GCP云sql。我正在遵循此处给出的示例
我的application.properties文件
# Set to the Postgres user you want to connect to; 'postgres' is the default user.
spring.datasource.username=username
spring.datasource.password=password
spring.cloud.gcp.sql.database-name=tablename
# This value is
我使用过spring cloud data flow、rabbitmq和kafka,但我想知道是否可以使用google pub/sub安装scdf。
我不想创建一个流(新的应用程序,spring云流),它的源或宿都是gcp,我想让google pub/sub over spring cloud数据流服务器作为一个中间消息传递代理。
有什么建议吗?
我正在尝试创建一个spring boot应用程序,每当我尝试运行应用程序时,它都会将一些数据插入到GCP Mysql.But中。 java.sql.SQLNonTransientConnectionException: Could not create connection to database server.
Caused by: java.io.IOException: The Application Default Credentials are not available. They are available if running in Google Compute Engi
我正试图在我的spring引导项目中集成spring云- gcp - pub -子流绑定器,以使用gcp发布子主题中的事件,并在运行该项目时获得以下错误。
Description:
An attempt was made to call a method that does not exist. The attempt was made from the following location:
com.google.cloud.spring.stream.binder.pubsub.provisioning.PubSubChannelProvisioner.provisionCon