无法读取minMoney的值

来源:4-1 项目属性配置知多少

Kurama丶

2019-12-02

org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘helloController’: Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder ‘minMoney’ in value “${minMoney}”

图片描述图片描述图片描述

写回答

1回答

慕后端600

2019-12-04

在你的yml配置文件里面,这个minMoney前面不要有空格,不然你这个就相当于server.servlet.minMoney了

0
0

2小时快速上手Spring Boot

一切为了效率!两个小时学习SpringBoot,为你省时省力Get干货

11582 学习 · 249 问题

查看课程