You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Spring Boot集成Azure Key Vault部署后无法连接报错问题求助

Spring Boot集成Azure Key Vault部署报错排查记录

背景

参照官方教程对应章节实现Spring Boot与Azure Key Vault的集成,已完成托管标识(Managed identities)相关全部配置,包含application.properties配置项编写、pom文件依赖引入。
由于该功能无法在本地开发环境运行,因此直接部署到线上环境测试,在日志流中查询到如下报错:

  • java.io.FileNotFoundException:/home/tomcat/lib/azure.appservice.jar (No such file or directory)
  • java.lang.IllegalStateException: Failed to configure KeyVault property source
  • java.io.IOException: Server returned HTTP response code: 400 for URL: Http://xxx.xx.x.x.x

最终排查结果

问题根因为client-id属性配置存在拼写错误。

内容的提问来源于stack exchange,提问作者askwer

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.10.01 14:39:02