Consider defining a bean of type ‘com.muses.taoshop.item.service.IItemService‘ in your configuration
启动springboot项目遇到一个问题:
错误:Description:
Field iItemService in com.muses.taoshop.web.controller.portal.IndexController required a bean of type 'com.muses.taoshop.item.service.IItemService' that could not be found.
Action:
Consider defining a bean of type 'com.muses.taoshop.item.service.IItemService' in your configuration.
原因描述:
项目已被分解为不同的模块,需要指定独立模块要扫描的类或包
解决方法:
在对应的启动springboot类标签上加上
Consider defining a bean of type ‘com.muses.taoshop.item.service.IItemService‘ in your configuration相关推荐
- springboot 启动项目报Consider defining a bean of type 'com.mooc.house.biz.service.XXX' in your config
报错: Error starting ApplicationContext. To display the auto-configuration report re-run your applicat ...
- Consider defining a bean of type ‘com.zut.xxp.niuke.dao.DiscussDao‘ in your configuration.
遇到这种错,我也很无奈.@Mapper注解也写了,但是,springboot就是不能把类放入容器内. 只能用@MapperScan() 用法: @MapperScan(bsePackages=&quo ...
- SpringBoot Feign接口调用启动类异常Consider defining a bean of type ‘xxx‘ in your configuration.
问题描述: Description:Field iDeptFeign in cn.ffcs.ints.modules.questionnaire.controller.QuestionnaireCon ...
- Consider revisiting the entries above or defining a bean of type 'org.springframework.data.redis……'
Consider revisiting the entries above or defining a bean of type 'org.springframework.data.redis.con ...
- SpringBoot出错:Consider defining a bean of type ‘com.mapper.UserMapper‘
SpringBoot出错:Consider defining a bean of type 'com.mapper.UserMapper' com.service.impl中的userMapper字段 ...
- springboot 工程启动报错之Consider defining a bean of type ‘XXX’ in your configuration.
一.前言: 使用springboot自动注入的方式搭建好了工程,结果启动的时候报错了!!!,错误如下图: Description:Field userEntityMapper in com.xxx.x ...
- Consider defining a bean of type ‘java.lang.String‘ in your configuration
Consider defining a bean of type 'java.lang.String' in your configuration 总结了网上的几种解决方案: 1.多余的@autowi ...
- Consider defining a bean of type ‘com.xg.stupro.service.StudentService‘ in your configuration.
1.运行sprring boot项目时,出现这个错误:Consider defining a bean of type 'com.xg.stupro.service.StudentService' i ...
- Spring Boot:Consider defining a bean of type ‘*.*.*‘ in your configuration解决方案
Spring Boot:Consider defining a bean of type '*.*.*' in your configuration解决方案 参考文章: (1)Spring Boot: ...
最新文章
- 2021年USNews美国研究生院排名重磅出炉!!!
- 机器学习笔记 RNN初探 LSTM
- 2019区块链行业指南
- 跨站请求伪造攻击(CSRF)
- 专访《王者荣耀》美术总监:用6年研究东方美学
- 前端每日实战:56# 视频演示如何用纯 CSS 描述程序员的生活
- ATcoder-[AGC048B]Bracket Score【结论,贪心】
- AI空谈情怀,也是要输的 | 人机辩论大战
- Java学习系列(十一)Java面向对象之I/O流(下)
- 深度学习(十八)基于R-CNN的物体检测-CVPR 2014
- Atitit nosql的艺术 attilax著作 目录 1. 1.5NoSQL数据库的类型	1 1.1. 1.5.1键值(Key/Value)存储	1 1.2. 1.5.2面向文档的数据库	1 1
- 有什么方法可以将WMV格式转换成MP4格式
- php查询快递,php查询快递的类
- 交换基础之生成树协议
- .net mvc 文件压缩打包下载
- python,别特么显示科学计数法了
- Razorpay 印度第三方支付机构 Razorpay 支付,放款,还款实际操作
- 简单聊聊VisualStudio的断点调试
- 游戏测试——whistle抓包工具的使用
- 封神台——第一关:为了女神小芳