源码之家

  • 首页
  • 文章
  • 问答
  • 下载
您的位置: 首页  >  文章  >  springboot中出现 could not autowire, No beans of TestService 'type' found

springboot中出现 could not autowire, No beans of TestService 'type' found

分类: 文章 • 2024-01-13 11:39:46
@Autowired
private TestService testService;


使用@Autowired注解的时候,出现这个问题,但是项目依然可以启动,没有报相关的问题...

修改方法:

在settings中修改: 原先是error改为warning

springboot中出现 could not autowire, No beans of TestService 'type' found

相关推荐

  • Could not autowire. No beans of ‘xxxxx‘ type found.
  • IntelliJ Idea Could not autowire. No beans of 'xxxx' type found的错误提示 和 eclipse 转idea
  • Could not autowire. No beans of ‘BookMapper‘ type found.
  • SpringBoot整合MyBatis,service中导入mapper报错——Could not autowire.No beans of 'xxxMapper' type found.
  • Could not autowire. No beans of ‘AreaDao’ type found.
  • 使用@Autowired报错Could not autowire.No beans of '...'type found.
  • idea报错Could not autowire No beans of 'UserDAO' type found more
  • idea 出现Could not autowire. No beans of 'xxxxMapper' type found. 安装 Mybatis Plugin 插件
  • IDEA 异常 -- Could not autowire. No beans of 'UserMapper' type found.
  • [EEROR]Spring整合Mybatis自动编入IDEA报错Could not autowire. No beans of 'UserMapper' type found.
  • linux mysql 设置权限 ERROR 1290(HY000)
  • [小知识] WPS恢复本地历史数据
    网站免责声明 网站地图 最新文章 用户隐私 版权申明
本站所有数据收集于网络,如果侵犯到您的权益,请联系网站进行下架处理。   

Copyright © 2018-2021   Powered By 源码之家    备案号:   粤ICP备20058927号