1、@ConfigurationProperties爆红并报以下错误
Field person in com.yingtao.boot.controller.Hellocontroller required a bean of type 'com.yingtao.boot.beans.Person' that could not be found.
必须在前面加上@Component
2、新建spring iniz项目时,需要选择版本为8的,而不是17!!!
3、如果报这个错误:
则需要在pom里面加入这个就行
org.springframework.boot spring-boot-configuration-processortrue



