method xxx in xxx required a bean of type ‘java.lang.String’ that could not be found.

遇到的问题:
method xxx in xxx required a bean of type 'java.lang.String' that could not be found.
错误出现的问题的代码:

method xxx in xxx required a bean of type 'java.lang.String' that could not be found.
@Autowired是自动装配。
而在本环境中,是Service实现类要实现Service的接口,应该使用@Override
method xxx in xxx required a bean of type 'java.lang.String' that could not be found.
项目重新启动:可以看到项目重新启动成功
method xxx in xxx required a bean of type 'java.lang.String' that could not be found.
※※※ 写代码还是要注意细节啊

相关文章:

  • 2021-05-15
  • 2021-05-25
  • 2022-12-23
  • 2021-05-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-25
  • 2021-12-26
猜你喜欢
  • 2021-11-25
  • 2021-05-07
  • 2022-12-23
  • 2021-07-01
  • 2021-04-21
  • 2022-01-12
  • 2021-09-11
相关资源
相似解决方案