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

@Autowired private TestService testService; 使用@Autowired注解的时候,出现这个问题,但是项目依然可以启动,没有报相关的问题... 修改方法: 在settings中修改: 原先是error改为warning
相关文章
相关标签/搜索