Could not resolve placeholder 'cupSize' in value "${cupSize}":
报这个错误的解决方法:
在SpringApplication中添加@Component @PropertySource("applicaton.yml")
然后注意context-path: /springboot 路径要有斜杠
报这个错误的解决方法:
在SpringApplication中添加@Component @PropertySource("applicaton.yml")
然后注意context-path: /springboot 路径要有斜杠
2018-03-18
spring 2.0中findOne(id)已改为findById(id).get()
http://blog.csdn.net/lzj4423996/article/details/79437687
http://blog.csdn.net/lzj4423996/article/details/79437687
2018-03-17
Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'cupSize' in value "${cupSize}"
2018-03-17