启动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相关推荐

  1. 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 ...

  2. Consider defining a bean of type ‘com.zut.xxp.niuke.dao.DiscussDao‘ in your configuration.

    遇到这种错,我也很无奈.@Mapper注解也写了,但是,springboot就是不能把类放入容器内. 只能用@MapperScan() 用法: @MapperScan(bsePackages=&quo ...

  3. SpringBoot Feign接口调用启动类异常Consider defining a bean of type ‘xxx‘ in your configuration.

    问题描述: Description:Field iDeptFeign in cn.ffcs.ints.modules.questionnaire.controller.QuestionnaireCon ...

  4. 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 ...

  5. SpringBoot出错:Consider defining a bean of type ‘com.mapper.UserMapper‘

    SpringBoot出错:Consider defining a bean of type 'com.mapper.UserMapper' com.service.impl中的userMapper字段 ...

  6. springboot 工程启动报错之Consider defining a bean of type ‘XXX’ in your configuration.

    一.前言: 使用springboot自动注入的方式搭建好了工程,结果启动的时候报错了!!!,错误如下图: Description:Field userEntityMapper in com.xxx.x ...

  7. 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 ...

  8. 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 ...

  9. 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: ...

最新文章

  1. 2021年USNews美国研究生院排名重磅出炉!!!
  2. 机器学习笔记 RNN初探 LSTM
  3. 2019区块链行业指南
  4. 跨站请求伪造攻击(CSRF)
  5. 专访《王者荣耀》美术总监:用6年研究东方美学
  6. 前端每日实战:56# 视频演示如何用纯 CSS 描述程序员的生活
  7. ATcoder-[AGC048B]Bracket Score【结论,贪心】
  8. AI空谈情怀,也是要输的 | 人机辩论大战
  9. Java学习系列(十一)Java面向对象之I/O流(下)
  10. 深度学习(十八)基于R-CNN的物体检测-CVPR 2014
  11. Atitit nosql的艺术 attilax著作 目录 1. 1.5NoSQL数据库的类型 1 1.1. 1.5.1键值(Key/Value)存储 1 1.2. 1.5.2面向文档的数据库 1 1
  12. 有什么方法可以将WMV格式转换成MP4格式
  13. php查询快递,php查询快递的类
  14. 交换基础之生成树协议
  15. .net mvc 文件压缩打包下载
  16. python,别特么显示科学计数法了
  17. Razorpay 印度第三方支付机构 Razorpay 支付,放款,还款实际操作
  18. 简单聊聊VisualStudio的断点调试
  19. 游戏测试——whistle抓包工具的使用
  20. 封神台——第一关:为了女神小芳

热门文章

  1. 数据库设计之冗余字段
  2. getValue()方法 java_【Java 】实用方法
  3. XML详细入门教程[PDF]
  4. Java和部门管理的那些事情
  5. nRF24L01无线通信模块使用简介(接收端)
  6. 【控制工程】基础知识
  7. 图论期末复习(《图论机器应用》——朴月华)
  8. 斐波那契凤尾————斐波那契数列、打表
  9. 进程、线程知识点总结和同步(消费者生产者,读者写者三类问题)、互斥、异步、并发、并行、死锁、活锁的总结
  10. Android高版本使用DocumentFile读写外置存储的问题