在springMvc-servlet中加入:

  <context:component-scan base-package="gywork.springMVC01.controller,gywork.springMVC01.service"></context:component-scan>

在接口实现类中加入标注:@Service,即可解决 

相关文章:

  • 2022-02-28
  • 2021-10-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-11
  • 2021-06-19
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-05-22
  • 2022-01-30
  • 2021-05-09
  • 2021-11-11
相关资源
相似解决方案