Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package.

来源:互联网 发布:怎样在淘宝上做兼职 编辑:程序博客网 时间:2024/06/05 10:43

错误原因是你用了springBoot的默认包,你应该在main/java目录下面建立自己的包,然后把类拖进去运行就ok了。

阅读全文
0 0
原创粉丝点击