最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

idea报错 Consider defining a bean of type ‘xx.PeopleService‘ in your configuration.

运维笔记admin1浏览0评论

问题描述

解决方案:

在启动类添加:@SpringBootApplication(scanBasePackages={“com.example.chart2.controller”,“com.example.chart2.service”})
包含你所需要扫描到的包

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论