社区微信群开通啦,扫一扫抢先加入社区官方微信群
社区微信群
Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder ‘security.noneSecurityPath’ in value “${security.noneSecurityPath}”
我用一个properties文件存配置信息,用于读取配置
错误是因为文件注入失败
解决办法:我在application中填在@PropertySource注解加载指定的配置文件
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!