行业知识
Injection of autowired dependencies failed
2026-12-06 16:41:43
来源:互联网转载
- 问题描述
项目启动报错,yml参数注入失败导致无法创建bean
- 报错信息
Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException
- application.yml
application.yml出现红色标志表示该配置文件未被加载,说明src\main\resources目录未被识别为资源目录
- 问题修复
上一篇:手游方舟怎么建服务器?