Description:
Field girlRepository in com.example.demo.GirlController required a bean of type 'com.example.demo.GirlRepository' that could not be found.
Action:
Consider defining a bean of type 'com.example.demo.GirlRepository' in your configuration.
以下是我的代码
我还加上了 ComponentScan标签,还是不行,网上的办法搜了个遍,求大神帮忙啊,这是怎么回事,之前创建表的时候我没建表也没有报错,是jpa的问题吗?
慕瓜9220888
慕后端0728355