报错
***************************
APPLICATION FAILED TO START
***************************
Description:
Parameter 0 of constructor in com.atguigu.boot.buhui.Car required a bean of type 'java.lang.String' that could not be found.
解决方案
这是因为自动注入需要无参构造,而我生成构造函数的时候生成的是有参构造。因此只需要进行无参构造进行了。