其他分享
首页 > 其他分享> > @ComponentScan

@ComponentScan

作者:互联网

1. @ComponentScan(basePackages = {“com.atguigu”})报错,提示“delete element"

将扫描包设置成启动类的上上级目录。

@ComponentScan(basePackages = {"com.atguigu"})

标签:basePackages,element,报错,atguigu,ComponentScan,com
来源: https://blog.csdn.net/qq_37875903/article/details/110852999