腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
6
回答
spring
配置服务器-用于本地
git
存储库
、
、
、
、
我正在尝试设置
spring
cloud
配置服务器使用我的服务的类路径链接源-Added属性文件对其进行-linked-hitting url: 导致错误: org.springframework.
cloud
.
config
.<
浏览 31
提问于2019-07-30
得票数 0
1
回答
在
GIT
中使用
Spring
cloud
config
读取配置时出现问题
、
、
、
我遵循了来自
spring
.io的
Spring
cloud
配置示例。正在尝试使用
git
从属性文件中读取属性。我尝试了Stackoverflow中给出的类似问题的建议,但它不起作用。profiles: native
config
: native:---
spring
:
浏览 88
提问于2018-08-07
得票数 0
回答已采纳
1
回答
spring
cloud
config
server
git
for
local
file
、
、
、
、
我想使用
spring
cloud
config
server
git
从本地文件中获取数据。 我已经尝试了以下Yaml配置,但它不工作。服务器:端口: 8888
spring
:
cloud
:
config
:
server
:
git
: uri:
file
:///C:/
spring
-boot-ws/demo-springcloud-m2-
浏览 24
提问于2019-06-12
得票数 0
7
回答
使用没有
Git
回购的
、
、
、
可以不使用任何
Git
回购而使用吗?我试图用application.properties中的本地目录来测试它:但我得到了以下错误:
file
://path/to/src
浏览 0
提问于2015-10-16
得票数 42
回答已采纳
1
回答
Spring
Cloud
Config
-
Git
后端
、
、
我浏览了
Spring
的文档,我学到的是
Spring
更喜欢使用
Git
作为配置存储库,因为它支持标签/分支等等,而且它也是
Spring
的默认选项。所以我很困惑为什么
Git
被建议用于配置,这是组织中的其他人可以很容易看到的,特别是在存储production 时,我的第二个问题是在属性文件中存储{cipher}ed值。同样,尽管该值是加密的,但仍然将加密的文本保存在
Git
中似乎是一种不太好的方法。 请任何人提供关于这些问题的见解。
浏览 1
提问于2022-01-25
得票数 0
1
回答
在远程回购不可用的情况下,如何设置服务的本地回退配置?
、
、
、
、
这意味着如果
git
检索失败,它不会返回到复合的本地组件。我真希望是这样。你们中有人处理过类似的问题吗?你是怎么解决的? 这里有一篇关于最佳实践的好文章。然而,我需要一个解决方案来解决案例1:
浏览 1
提问于2018-09-24
得票数 4
回答已采纳
1
回答
如何配置
Spring
Cloud
Config
Server
使用克隆的配置文件
、
、
、
config
.source=
Local
Cloud
Server
#just to check where
config
come fromencrypt.key=xxxxxxxxxxxxxx
spring
.profiles.active=staging#
Git
Backend <
浏览 8
提问于2021-09-20
得票数 0
4
回答
Spring
云配置服务器ssh到bitbucket问题
、
、
、
、
: Cannot clone or checkout repository:
git
@bitbucket.org:jimjudd/service-
config
.
git
at org.springframework.
cloud
.
config
.
server
.environment.JGitEnvironmentRepository.refresh(JGitEnvironmentRepository.java:320) ~[
spring
-
cloud<
浏览 31
提问于2021-12-09
得票数 2
2
回答
如何定义子文件夹以查找jhipster注册表的配置文件
、
、
、
这是我使用如下配置运行
Spring
Cloud
Config
服务器可以实现的功能:
spring
:
config
:
server
: default-label: develop/central-
config
#searc
浏览 23
提问于2019-04-16
得票数 1
1
回答
如何将github存储库配置为
spring
云服务器的配置回购?
、
、
、
、
我已经创建了一个github存储库https://github.com/Nisarg04/microservices-
config
-repo.
git
,希望将其作为配置回购处理。application.properties看起来如下所示:
server
.port=8888 #
spring
.
浏览 1
提问于2018-10-04
得票数 3
回答已采纳
1
回答
Spring
cloud
java.lang.IllegalStateException:无法加载环境
、
、
、
我正在尝试运行
Spring
Cloud
Config
应用程序,但遇到了错误。') testCompile('org.springframework.bootapplication.yml port: 8085
spring<
浏览 270
提问于2018-06-03
得票数 3
5
回答
原因:无法解决org.eclipse.jgit.api.errors.RefNotFoundException:参考母版
、
、
=
config
-
server
spring
.
cloud
.
config
.
server
.
git
浏览 5
提问于2021-05-03
得票数 13
回答已采纳
1
回答
具有保管库令牌的
Spring
配置服务器不遵守保管库中定义的acl
、
我有
spring
config
server
和vault作为后端。我在vault中使用acl策略创建了一个令牌。当我在
spring
.
cloud
.
config
.token中使用令牌时,它不遵守acl
spring
: name: app1
cloud
: uri: https://
config</em
浏览 11
提问于2019-07-11
得票数 0
回答已采纳
2
回答
Git
身份验证失败
Spring
配置存储
、
我们正在配置服务器,下面是我的应用程序属性的外观:
spring
.
cloud
.
config
.
server
.
git
.uri=https://github.com/myorganization/
config
-store.
git
spring
.
cloud
.
config
.
server
.
git
.sea
浏览 20
提问于2022-01-04
得票数 1
回答已采纳
3
回答
Spring
配置--将存储库直接放置在包含类路径的文件夹中?
、
、
、
、
在应用程序的开发阶段,我希望将
git
存储库直接放在类路径之上的文件夹中。目前,我的是这样的:此URI指向直接位于类路径上方的文件夹
server
configuration.Action: If you are using the <e
浏览 0
提问于2018-12-14
得票数 7
2
回答
Spring
Cloud
:从配置服务器加载消息源
、
、
、
、
我正在进行
Spring
cloud
项目(
Spring
Boot + Eureka API ),该项目包含客户端、注册表和配置服务器,因此我需要从配置服务器加载消息属性:@Configuration public ReloadableResourceBundleMessageSource
浏览 7
提问于2019-03-07
得票数 4
2
回答
使用凭据的与Github回购
、
任何关于如何使用
Spring
访问回购的建议。application.properties:
spring
.
cloud
.
config
.
server
.
git
.username=tarun
s
浏览 9
提问于2020-06-09
得票数 2
11
回答
不使用本地属性文件
、
、
我一直在玩github上的
Spring
项目,它位于这里:但我还没找到好的答案。我想知道有没有人能给我举个例子?我想在本地设置我的财产,而不是使用任何形式的
git
回购。我想以前有人遇到过这种情况,如果有这样的例子,我真的很想看到它,这样我就能朝着正确的方向前进。
浏览 2
提问于2014-11-25
得票数 21
回答已采纳
6
回答
将
spring
配置服务器连接到本地
git
失败
、
、
(JGitEnvironmentRepository.java:299) at org.springframework.
cloud
.
config
.
server
.environment.EnvironmentControlle
浏览 14
提问于2020-04-27
得票数 0
1
回答
spring
cloud
配置服务器仅从主分支读取
、
、
、
、
嘿,所以我正在尝试启动
spring
cloud
config
server
在其他分支而不是master上。使用以下变量进行设置:
spring
.
cloud
.
config
.allow
浏览 2
提问于2018-11-24
得票数 0
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
译:Spring Cloud Config:Git 后端
在 Golang 项目中使用 Spring Cloud Config Server 管理配置
Spring Cloud Config 配置中心
Spring Cloud Config 从入门到精通
Spring Cloud Config 开发指南 2
热门
标签
更多标签
云服务器
ICP备案
对象存储
腾讯会议
云直播
活动推荐
运营活动
广告
关闭
领券